Replies: 1 comment 1 reply
-
There's no setting for reducing the nesting as Prisma itself uses nesting of the Prisma Client args. You can only try to write your own arguments and inputs with all the fields flatten, then write resolvers that will translate this flat inputs into Prisma Client nested inputs call. |
Beta Was this translation helpful? Give feedback.
1 reply
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Our Prisma scheme increases significantly in size. It has more than 150 models. The GraphQL schema is getting even bigger. We would like to reduce the generation of "input" nesting, so we use a maximum of 1 level of nesting for creating or updating models.
Is it possible to reduce the level of generation of input and output nesting?
I will be glad if you can tell me where to find this setting in the source code of the library. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions