Modify Context value for consecutive resolvers #5224
Unanswered
mezykr-oanda
asked this question in
Q&A
Replies: 1 comment
-
Apollo Server doesn't have a great answer for this today; the I think graphql-java's local context is a good design (though it only passes down one level at a time). |
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
-
Hey, I'm trying to find a way to change/set some value in context (or other place) to make it available in nested consecutive children resolvers. I know that I can propagate a value from parent resolver down but In my case I would have to do that by several layers (10+)... Setting this value by operation context method will not work - this is something what I can set basing on value returned from some top-level resolver ... Please see below diagram for reference. Thank you for any help on this ...
Beta Was this translation helpful? Give feedback.
All reactions