CS2602
error A type can have at most max fields.
#What it means
A user type has more fields than the limit given in the message (1,000).
#Typical cause
- A very large record type, often generated.
#How to fix it
Split the type into smaller types and nest them (a field can hold another type), or keep repeated values in an array field.
#Example
It needs a type with more than 1,000 fields, far too long to show.
#Related
- CS2601 — A field cannot be named name.