Skip to content

Context Propagation to DataFetcher's with Spring MVC #53

Closed
@rstoyanchev

Description

@rstoyanchev

For Spring Security support on Spring MVC, we'll need context propagation.

Initially the request is on a Servlet container thread with ThreadLocal context, then it passes through the Reactor web interception chain before getting to GraphQL where DataFetchers are invoked and those would be expected to be imperative but also potentially reactive.

We'll need to assist with context propagation for this to work seamlessly. It will probably involve some mechanism that enables Spring Security or others to help decide which ThreadLocal context to propagate.

Metadata

Metadata

Assignees

Labels

in: coreIssues related to config and core supportin: webIssues related to web handlingtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions