Replies: 1 comment
-
I think you are looking for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
edit: realized Prisma also doesn't generate this by default
For a model w/ relations that looks like this:
I get this update schema:
If there are more relations, it would generate one for each relation using the respective schema (e.g.
PostUpdateWithWhereUniqueWithoutTagInputSchema
usingPostUpdateWithoutTagInputSchema
which allows to updatecategory
but nottag
).However, there isn't a generic
PostUpdateWithWhereUnique
generated that includes all the relations, why is that?Beta Was this translation helpful? Give feedback.
All reactions