Can I access the args fields globally from anywhere in the project? #1097
Closed
hadishahpuri
started this conversation in
Ideas
Replies: 2 comments
-
These args are only passed to the root query/mutations resolver. In the distant past every resolver received those args but that was a major bug because individual fields can have their own args. If you need them outside your root query/mutation which received the initial request, you have to come up with your own thing (e.g. getting the current Maybe I can give a better advise if I could better understand the goal. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks I got the answer I was lookig for :) |
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.
-
As the Args field parameters are available inside the HTTP Request object,
Is it possible to access these parameters from anywhere in the project?
Something like: GraphQL::args()
Beta Was this translation helpful? Give feedback.
All reactions