Replies: 2 comments
-
https://ariadnegraphql.org/docs/schema-directives#applying-directives-to-schema-items ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Simplest solution is to return |
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
-
Just want to ask if this is possible in the resolver.
Lets say I have an schema
and a resolver
My query looks like this (in javascript):
If for certain instances (like if I have a user in a different group) I want to restrict a field like
notes
would I have to rewrite another query and load or is there any other options in the resolver where I can place restrictions on what fields are returned?Beta Was this translation helpful? Give feedback.
All reactions