-
Notifications
You must be signed in to change notification settings - Fork 233
feat: json output support for monograph/subgraph check #2590
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
Merged
comatory
merged 25 commits into
main
from
ondrej/eng-8836-cli-add-json-to-subgraph-check
Mar 10, 2026
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
d6b4498
feat(tests): add test for checking schema CLI
comatory 548dd66
feat: JSON output
comatory 99d1364
chore(test): add JSON output tests
comatory 77d0ea6
fix: formatting
comatory 100c4fa
refactor: make the handler function more readable
comatory a2a73fe
chore: use root version of prettier
comatory b93bb02
fix: prettier invocation
comatory b7198f6
feat: add JSON flag to monograph check
comatory 58b1b8f
fix: displaying errors/warnings as arrays
comatory 89a31d4
fix: ensure tests can handle colorized/non-colorized outputs
comatory 69bcd1e
fix: duplicate flag
comatory 7e03da4
Merge branch 'main' into ondrej/eng-8836-cli-add-json-to-subgraph-check
comatory 852cec7
Merge branch 'main' into ondrej/eng-8836-cli-add-json-to-subgraph-check
comatory 12a0dfb
feat: support `outFile`
comatory 21d40be
fix: exclude traffic checks in JSON output
comatory a30f768
refactor: extract JSON builder class to separate file + tests
comatory 6c41699
fix: omit `linkedToSubgraph` JSON property
comatory 1b3a7ef
refactor: remove nested success properties for JSON output
comatory 50b2cad
fix: do not include traffic property with --skip-traffic-check
comatory 0655b96
feat: backport composedSchemaBreakingChanges
comatory 0d950c2
chore(test): cover method for composed breaking changes
comatory fc2777e
fix: remove casts to any in tests for json output builder
comatory 6644689
fix: traffic is only added when breaking changes are detected
comatory 8642499
fix: rename Json builder class to be specific to check schemas
comatory a691057
Merge branch 'main' into ondrej/eng-8836-cli-add-json-to-subgraph-check
comatory File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,4 +4,5 @@ out | |
| node_modules | ||
| .env | ||
| .eslintcache | ||
| e2e/config.json | ||
| e2e/config.json | ||
| coverage | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.