Skip to content

Commit

Permalink
Add validation for @external, @requires, @key, restricted default roo…
Browse files Browse the repository at this point in the history
…t operation names (#25)

* Add validation for @key directives

* Added validation rules for @externals and @requires directives

* Added jest-config and graphql-tag dev dependencies

* exported composition functions

* Validate against invalid usage of root operation type names
Add a validator to warn users against using default root operation
type names when they've specified non-default root operation types.

* Update externals error message

* Add union type handling and update related tests / edge cases.
  • Loading branch information
JakeDawkins authored and trevor-scheer committed Apr 9, 2019
1 parent d017acc commit c0e3827
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit c0e3827

Please sign in to comment.