Documentation for generated type suffixes #4317
Labels
docs
Documentation creation, updates or corrections
needs-investigation
This issue requires more information to be worked on.
size: M
two-three days
There are some examples of generated types here: https://www.prisma.io/docs/concepts/components/prisma-client/advanced-type-safety#what-are-generated-types.
But I haven't been able to find a page that lists all generated type suffixes and their meanings.
For example, I'd like to know why the
GetPayload
suffix allows for relation scalar fields, while theCreateInput
suffix only allows for relation fields.The text was updated successfully, but these errors were encountered: