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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This generates the following model..
How can I attach
Authorized()decorator or some other middleware to the status field of generatedUsermodel?Beta Was this translation helpful? Give feedback.
All reactions