We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From discourse thread:
The following query:
{ nodes(id: spotify:track:6SYdgNzbH6QuFfdlPn3rkc){ id name artist{name} } }
Produces:
{ "data": { "nodes": { "artist": { "name": "The Veils" }, "id": "spotify:track:6SYdgNzbH6QuFfdlPn3rkc", "name": "Jesus for the Jugular" } } }
There should be a way to truncate the results so they are not nested. Something like:
{ "data": { "nodes": { "artist": "The Veils", "id": "spotify:track:6SYdgNzbH6QuFfdlPn3rkc", "name": "Jesus for the Jugular" } } }
An be done with a directive on a parent predicate:
{ nodes(id: spotify:track:6SYdgNzbH6QuFfdlPn3rkc){ id name artist @unnest {name} } }
The text was updated successfully, but these errors were encountered:
graphql: support un-nesting objects into parent; resolves cayleygraph…
2fa3d09
…#686
7f5761b
graphql: support un-nesting objects into parent; resolves #686
b74f4c7
No branches or pull requests
From discourse thread:
The following query:
Produces:
There should be a way to truncate the results so they are not nested. Something like:
An be done with a directive on a parent predicate:
The text was updated successfully, but these errors were encountered: