Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for generated type suffixes #4317

Open
KevinMusgrave opened this issue Jan 3, 2023 · 0 comments
Open

Documentation for generated type suffixes #4317

KevinMusgrave opened this issue Jan 3, 2023 · 0 comments
Labels
docs Documentation creation, updates or corrections needs-investigation This issue requires more information to be worked on. size: M two-three days

Comments

@KevinMusgrave
Copy link

KevinMusgrave commented Jan 3, 2023

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 the CreateInput suffix only allows for relation fields.

@KevinMusgrave KevinMusgrave added the docs Documentation creation, updates or corrections label Jan 3, 2023
@KevinMusgrave KevinMusgrave changed the title Documentation for generated types Documentation for generated type suffixes Jan 3, 2023
@mhessdev mhessdev assigned mhessdev and unassigned mhessdev May 3, 2023
@ruheni ruheni added the size: M two-three days label May 22, 2023
@jharrell jharrell added the needs-investigation This issue requires more information to be worked on. label Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation creation, updates or corrections needs-investigation This issue requires more information to be worked on. size: M two-three days
Projects
None yet
Development

No branches or pull requests

4 participants