Return a query result without or with a null data
field
#1262
Unanswered
zizhengtai
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hello 👋 |
Beta Was this translation helpful? Give feedback.
4 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, how can I return a query result that looks like either of the following from a Kotlin Spring WebFlux server?
Currently, if I do something like this:
I'll get an error complaining that I returned a null result while the return type of the query is specified as
Foo!
. But according to the GraphQL specs, the nullness should just propagate up and makedata
null.Beta Was this translation helpful? Give feedback.
All reactions