We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eda28d6 commit b77b65eCopy full SHA for b77b65e
3 files changed
packages/graphql_codegen/test/assets/issue_370/document.graphql
@@ -0,0 +1,48 @@
1
+type Media {
2
+ id: ID
3
+ type: String
4
+ title: MediaTitle
5
+ coverImage: MediaCoverImage
6
+ nextEpisode: Int
7
+}
8
+
9
+type MediaTitle {
10
+ romaji: String
11
+ userPreferred: String
12
13
14
+type MediaCoverImage {
15
+ large: String
16
+ medium: String
17
18
19
+type Query {
20
+ Media(id: Int, search: String): Media
21
22
23
24
+fragment MediaMinimalFrag on Media {
25
+ id
26
+ type
27
+ title {
28
+ romaji
29
+ userPreferred
30
+ }
31
+ coverImage {
32
+ large
33
+ medium
34
35
36
37
+query MediaMinimal($id: Int, $search: String) {
38
+ Media(id: $id, search: $search) {
39
+ ...MediaMinimalFrag
40
41
42
43
+query MediaFull($id: Int, $search: String) {
44
45
46
+ nextEpisode
47
48
0 commit comments