Leverage custom context during schema creation? #222
scott-deboy
started this conversation in
Ideas
Replies: 2 comments
-
|
I don't think so - the context is per query/request, while the |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I agree, it wouldn't be for one-time initialization - but I'm looking at performing schema regen/rewriting at runtime as needed based on a custom SchemaReloadIndicator - in those cases having the context would be really helpful (particularly the web request). |
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.
-
Would it be possible to expose the custom context to DgsTypeDefinitionRegistry and DgsCodeRegistry implementations for use during schema creation?
Beta Was this translation helpful? Give feedback.
All reactions