File: fragment.graphql

package info (click to toggle)
golang-github-vektah-gqlparser 2.5.31-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,120 kB
  • sloc: javascript: 204; sh: 46; makefile: 11
file content (30 lines) | stat: -rw-r--r-- 490 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# FooBarQuery comment
query FooBarQuery ($after: String!) {
	# fizzList comment
	fizzList(first: 100, after: $after) {
		# nodes comment
		nodes {
			# id comment
			id
			# FooFragment comment
			... FooFragment
			# on Foo comment
			... on Foo {
				# on Foo id comment
				id
			}
			# anonymous Fragment comment
			... {
				# anonymous Fragment id comment
				id
			}
			# name comment
			name
		}
	}
}
# fragment FooFragment comment
fragment FooFragment on Foo {
	# id comment
	id
}