diff options
| author | Eugen Wissner <belka@caraus.de> | 2020-09-04 19:12:19 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2020-09-04 19:12:19 +0200 |
| commit | 14ed2098285776690bd8fea4209560bf3dba9e74 (patch) | |
| tree | a325eb2aeb0cedd9f8988cc3bfd257091939068c /tests/Test/DirectiveSpec.hs | |
| parent | 33318a3b01d27771c6d51ddc5899162bf3acebd8 (diff) | |
| download | graphql-14ed2098285776690bd8fea4209560bf3dba9e74.tar.gz | |
Collect types from the subscription root
Diffstat (limited to 'tests/Test/DirectiveSpec.hs')
| -rw-r--r-- | tests/Test/DirectiveSpec.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Test/DirectiveSpec.hs b/tests/Test/DirectiveSpec.hs index e6b6cea..800189e 100644 --- a/tests/Test/DirectiveSpec.hs +++ b/tests/Test/DirectiveSpec.hs @@ -72,7 +72,7 @@ spec = ...experimentalFragment @skip(if: true) } - fragment experimentalFragment on ExperimentalType { + fragment experimentalFragment on Query { experimentalField } |] @@ -83,7 +83,7 @@ spec = it "should be able to @skip an inline fragment" $ do let sourceQuery = [r| { - ... on ExperimentalType @skip(if: true) { + ... on Query @skip(if: true) { experimentalField } } |
