-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support validating standalone operations without a known schema (#631)
* fix(compiler): validate name collisions in executable documents The implementation for name collisions validation was only running on the type system, not on executable documents. Now the type system validation only checks type system definitions, while the executable validation only checks executable definitions. * feat(compiler): sort diagnostics by location This is good for display for end users, and makes our output deterministic even if we move around the order of validations internally. * feat(compiler): add validation function for standalone operations without schema * remove stray comment * Add failing test for undefined fragment * Propagate schema-have-ness down operation validation functions
- Loading branch information
1 parent
3626dca
commit 777bba6
Showing
26 changed files
with
996 additions
and
753 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.