Skip to content

Correct way to handle prefilling/limiting user input based on Roles #138

Answered by MichalLytek
sachaw asked this question in Q&A
Discussion options

You must be logged in to vote

The goal of this library is to generate the building blocks, corresponding to Prisma inputs and outputs.

It's not a Hasura competitor, so it doesn't generate a rich resolvers with custom logic.
You can reuse some inputs and outpus and write your own resolvers when you connect new record to current user from context.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sachaw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants