-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: πΈ disable unique directive per location rule (#31)
* feat: πΈ disable unique directive per location rule * test: π add missing test * chore: π€ bump publish node version from 12 to 14 on CircleCI * fix: π remove error throw on success test
- Loading branch information
1 parent
9efd984
commit 43e935c
Showing
4 changed files
with
33 additions
and
2 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
16 changes: 16 additions & 0 deletions
16
src/__tests__/valid-federated-with-multiple-primary-keys.graphql
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
type Sale @key(fields: "id") { | ||
id: ID! | ||
name: String | ||
seller: User | ||
} | ||
|
||
extend type User @key(fields: "id") @key(fields: "netsuiteInternalId") { | ||
id: ID! @external | ||
netsuiteInternalId: Int | ||
sales: [Sale] | ||
numberOfSales: Int | ||
} | ||
|
||
extend type Query { | ||
sales: [Sale] | ||
} |
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