How to access input variables in the field resolver #2398
Unanswered
shashank-sachan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
After generating the code using GqlGen there are some field resolvers method that has been created. I need to access the query input param in the field resolver but I'm not sure how to access it.
Do I need to get these values from context? Or is there any other way?
Query Resolver:
Field Resolver:
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions