-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow @dangerously_unaliased_fixme in updatable fragments
Reviewed By: gordyf Differential Revision: D69608990 fbshipit-source-id: 7c8383f4372834d4e9c05d949da5c431b1883bda
- Loading branch information
1 parent
de6da29
commit 3a16e22
Showing
4 changed files
with
31 additions
and
1 deletion.
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
12 changes: 12 additions & 0 deletions
12
...elay-transforms/tests/updatable_directive/fixtures/dangerously-unaliased-allowed.expected
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,12 @@ | ||
==================================== INPUT ==================================== | ||
query TestQuery @updatable { | ||
node(id: 4) { | ||
...FragmentOnUser @dangerously_unaliased_fixme | ||
} | ||
} | ||
|
||
fragment FragmentOnUser on User @assignable { | ||
__typename | ||
} | ||
==================================== OUTPUT =================================== | ||
OK |
9 changes: 9 additions & 0 deletions
9
...relay-transforms/tests/updatable_directive/fixtures/dangerously-unaliased-allowed.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,9 @@ | ||
query TestQuery @updatable { | ||
node(id: 4) { | ||
...FragmentOnUser @dangerously_unaliased_fixme | ||
} | ||
} | ||
|
||
fragment FragmentOnUser on User @assignable { | ||
__typename | ||
} |
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