Skip to content

Annotation based approach for GraphQLContext and local context values as arguments to SchemaMapping and BatchMapping methods #172

@jhinch-at-atlassian-com

Description

Currently, the local context and the values in the GraphQLContext can only be retrieved in a data fetcher by requesting the DataFetchingEnvironment and invoking various methods on it. It would be great if annotations could be provided to allow these to be resolved as arguments to the method. This is similar to how Spring MVC currently allows quality of life annotations such as RequestHeader or CookieValue.

Metadata

Metadata

Assignees

Labels

in: coreIssues related to config and core supporttype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions