-
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 for enabling feature flag on a per test basis
Summary: This diff follows up on a comment in the previous diff to allow the tests to turn on or off exec time resolvers on a per test basis by adding a comment to the test. Reviewed By: lynnshaoyu Differential Revision: D64769717 fbshipit-source-id: d96c06a21e9bbe4a6a4fa7996f9e4b2652314400
- Loading branch information
1 parent
d6cb5a2
commit b4d0b22
Showing
3 changed files
with
8 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
2 changes: 2 additions & 0 deletions
2
.../crates/relay-codegen/tests/client_edges/fixtures/client-edge-exec-time-resolver.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
2 changes: 2 additions & 0 deletions
2
...r/crates/relay-codegen/tests/client_edges/fixtures/client-edge-exec-time-resolver.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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# enable-exec-time-resolvers-directive | ||
|
||
query Foo @exec_time_resolvers { | ||
me { | ||
pet { | ||
|