summaryrefslogtreecommitdiff
path: root/tests/examplefiles/graphql/ex14_inline_fragments2.graphql
diff options
context:
space:
mode:
authormazza <128099384+mazza-av@users.noreply.github.com>2023-05-14 05:29:03 -0400
committerGitHub <noreply@github.com>2023-05-14 11:29:03 +0200
commit2401866e5afee0aa67fe5064a9ab41d06ecbde6d (patch)
tree0d389f38ac3b1fe3d8d3f4d9b00d390c31fe1fb8 /tests/examplefiles/graphql/ex14_inline_fragments2.graphql
parent9f9c907f24d9c7f847739b15597ddd86b7d0efd8 (diff)
downloadpygments-git-2401866e5afee0aa67fe5064a9ab41d06ecbde6d.tar.gz
Add support for GraphQL (#2428)
Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
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
+ }
+ }
+}