You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In light of the planned improvement under #354, I am closing this for now since a local context value can be accessed through @ContextValue, but we can always re-open it if needed.
rstoyanchev
changed the title
local context
Add @LocalContextValue for access to attributes from the local GraphQLContext in DataFetchingEnvironment
May 5, 2022
In summary, there is now @ContextValue and @LocalContextValue, each binding from the main or the local GraphQLContext respectively. That means existing code accessing the local context will now have to switch to @LocalContextValue.
I think it would be useful to have a
@LocalContext
annotation to allow for the local context to be injected in annotated methods.Thoughts?
The text was updated successfully, but these errors were encountered: