Skip to content

Example for defining nested object without creating type? #168

Answered by hayes
theogravity asked this question in Q&A
Discussion options

You must be logged in to vote

This is not something that currently exists. GraphQL doesn't have a way to represent nested objects without giving them a type. There were some ideas around creating a method for defining types inline, but there were some issues getting the API to work. Closest thing is the with-input plugin (not merged, open as a PR) but that's not quite the same thing

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@theogravity
Comment options

Answer selected by theogravity
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants