Authorize query null for persisted query #2667
TheNoobProgrammeur
started this conversation in
General
Replies: 1 comment
-
Yes it cant be null BUT it can be a marker that helps you know its a persisted query See |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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.
graphql-java/src/main/java/graphql/ExecutionInput.java
Line 224 in abbb856
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 ?
Beta Was this translation helpful? Give feedback.
All reactions