Skip to content

Authorize query null for persisted query #2636

@TheNoobProgrammeur

Description

@TheNoobProgrammeur

Hi ! I want to use persisted query.

To respect apollo persited query protocol
(https://www.apollographql.com/docs/react/api/link/persisted-queries/#protocol).

I will send one request where my query is not defined.
But ExecutionInput builder don't support null query.

this.query = assertNotNull(query, () -> "query can't be null");

In graphql kickstart spring boot lib
One exception is return when GraphQLSingleInvocationInput.createExecutionInput() is executed.
I see in this MR your raise a question but I don't find a solution.

#2013 (comment)

Is it posibel to overide the ExecutionInput build rule ?

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