Are directives always applied to the schema and can be used as a middleware to restrict access? #3032
Unanswered
jalilbengoufa
asked this question in
Q&A
Replies: 1 comment
-
You can extend a schema with additional fields using tools that possibly don’t know how to apply directives. If you don’t do that, I think You are ok |
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
-
https://www.graphql-tools.com/docs/legacy-schema-directives/#enforcing-access-permissions
I was reading the doc above, and It says this:
I am not sure if this means that directives are not guaranteed to be applied to each field in the schema ? Is there a solution for this ?
Beta Was this translation helpful? Give feedback.
All reactions