summaryrefslogtreecommitdiff
path: root/tests/examplefiles/graphql/ex14_inline_fragments2.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/graphql/ex14_inline_fragments2.graphql')
-rw-r--r--tests/examplefiles/graphql/ex14_inline_fragments2.graphql14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/examplefiles/graphql/ex14_inline_fragments2.graphql b/tests/examplefiles/graphql/ex14_inline_fragments2.graphql
new file mode 100644
index 00000000..f756edc4
--- /dev/null
+++ b/tests/examplefiles/graphql/ex14_inline_fragments2.graphql
@@ -0,0 +1,14 @@
+{
+ search(text: "an") {
+ __typename
+ ... on Human {
+ name
+ }
+ ... on Droid {
+ name
+ }
+ ... on Starship {
+ name
+ }
+ }
+}