How can I use @Authorized guard with @ObjectType() fields in generated models? #386
Unanswered
palashCItobuz
asked this question in
Q&A
Replies: 1 comment
-
https://prisma.typegraphql.com/docs/advanced/additional-decorators |
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
-
This generates the following model..
How can I attach
Authorized()
decorator or some other middleware to the status field of generatedUser
model?Beta Was this translation helpful? Give feedback.
All reactions