Skip to content

how to provide custom GraphQLContext in 7.0.0 ? #131

@dave3068

Description

@dave3068

I want to get some authorization user information in the QueryResolver.

the article [https://www.howtographql.com/graphql-java/5-authentication/] said, I can custom GraphQLContext to do this.

But in the version 7.0.0 SimpleGraphQLHttpServlet has maked as deprecated, and GraphQLHttpServlet with GraphQLConfiguration can't tack the CustomGraphQLContext in.

How can I do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions