-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix message for when override conflicts with other directives (#2943)
When working with the override directive i received this error (names changed): `@override cannot be used on field "myType.myField" on subgraph "mySubgraph" since "myType.myField" on "mySubgraph" is marked with directive "@requires"` But requires was used on "myOtherSubgraph". I changed the error message to state the correct subgraph and changed the tests to match the expected behavior.
- Loading branch information
1 parent
c38628c
commit b4185fe
Showing
2 changed files
with
3 additions
and
3 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