Replies: 1 comment 1 reply
-
If I understand you correctly, you want to look into unions -> https://github.com/rebing/graphql-laravel#unions |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I want to be able to accept multiple types for a field in my GraphQL Type that's returned from my query.
For example right now I have a field like this
But I would like to use types instead of json so I don't have to decode it on the frontend. Is something like this possible?
Beta Was this translation helpful? Give feedback.
All reactions