-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
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
feat: structured output #676
Merged
EverlastingBugstopper
merged 22 commits into
avery/refactor-subgraph-check
from
avery/structured-output
Jul 26, 2021
Merged
feat: structured output #676
EverlastingBugstopper
merged 22 commits into
avery/refactor-subgraph-check
from
avery/structured-output
Jul 26, 2021
Commits on Jul 22, 2021
-
This commit adds a global `--json` flag that structures the output of Rover like so: **success:** { "data": { "sdl": { "contents": "type Person {\n id: ID!\n name: String\n appearedIn: [Film]\n directed: [Film]\n}\n\ntype Film {\n id: ID!\n title: String\n actors: [Person]\n director: Person\n}\n\ntype Query {\n person(id: ID!): Person\n people: [Person]\n film(id: ID!): Film!\n films: [Film]\n}\n", "type": "graph" } }, "error": null } **errors:** { "data": null, "error": { "message": "Could not find subgraph \"products\".", "suggestion": "Try running this command with one of the following valid subgraphs: [people, films]", "code": "E009" } }
Configuration menu - View commit details
-
Copy full SHA for ab64ba2 - Browse repository at this point
Copy the full SHA ab64ba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61045a4 - Browse repository at this point
Copy the full SHA 61045a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80c6e43 - Browse repository at this point
Copy the full SHA 80c6e43View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9c74bc - Browse repository at this point
Copy the full SHA b9c74bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f62257 - Browse repository at this point
Copy the full SHA 3f62257View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc4dad2 - Browse repository at this point
Copy the full SHA cc4dad2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92f9ce4 - Browse repository at this point
Copy the full SHA 92f9ce4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e089b4 - Browse repository at this point
Copy the full SHA 1e089b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b998239 - Browse repository at this point
Copy the full SHA b998239View commit details
Commits on Jul 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5bf3550 - Browse repository at this point
Copy the full SHA 5bf3550View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b52c70 - Browse repository at this point
Copy the full SHA 0b52c70View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2c5c12 - Browse repository at this point
Copy the full SHA a2c5c12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e66dba - Browse repository at this point
Copy the full SHA 4e66dbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14e59ad - Browse repository at this point
Copy the full SHA 14e59adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 291c81a - Browse repository at this point
Copy the full SHA 291c81aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5747172 - Browse repository at this point
Copy the full SHA 5747172View commit details
Commits on Jul 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fdceb28 - Browse repository at this point
Copy the full SHA fdceb28View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea99465 - Browse repository at this point
Copy the full SHA ea99465View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dc6070 - Browse repository at this point
Copy the full SHA 3dc6070View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4806738 - Browse repository at this point
Copy the full SHA 4806738View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94b44cf - Browse repository at this point
Copy the full SHA 94b44cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f38617d - Browse repository at this point
Copy the full SHA f38617dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.