Union gives internal error, how should I query? #1034
Unanswered
factormaarten
asked this question in
Q&A
Replies: 1 comment
-
Consider https://webonyx.github.io/graphql-php/type-definitions/unions/ and https://webonyx.github.io/graphql-php/error-handling/#debugging-tools |
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.
-
Hello,
I'm trying to create a union with the following definition:
When I query:
The event message is simply passed along:
The current return json is:
However the error I'm getting is:
What am I doing wrong? It somehow doesn't seem to determine what kind of event it is.
Beta Was this translation helpful? Give feedback.
All reactions