Skip to content

Add to the executor's context #75

@molexx

Description

@molexx

Now we have schema merging we can add non-JPA functionality to our projects. Sometimes that functionality needs some things in the context - set in the executor and available from DataFetchingEnvironment. But graphql-jpa-query defines the Executor which runs all calls and I don't see how to modify that context without breaking it.

In my particular case I need the HttpServletRequest used to make the query call. Maybe other use cases might want to add their own things in there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions