1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
3
exports [` 1` ] = `
4
- 1 |
5
- 2 | input SalaryDecimalOperatorsFilterUpdateOneUserInput {
6
- > 3 | gt : BSONDecimal
7
- | ^^ Description is required for nodes of type " InputValueDefinition"
8
- 4 | gte : BSONDecimal
9
- 5 | lt : BSONDecimal
10
- 6 | lte : BSONDecimal
11
- 7 | ne : BSONDecimal
12
- 8 | in : [BSONDecimal ]
13
- 9 | nin : [BSONDecimal ]
14
- 10 | }
15
- 11 |
4
+ > 1 | type User { id : ID }
5
+ | ^^^^ Description is required for \` type User\` .
16
6
` ;
17
7
18
8
exports [` 2` ] = `
19
- 1 |
20
- 2 | input SalaryDecimalOperatorsFilterUpdateOneUserInput {
21
- 3 | gt : BSONDecimal
22
- > 4 | gte : BSONDecimal
23
- | ^^^ Description is required for nodes of type " InputValueDefinition"
24
- 5 | lt : BSONDecimal
25
- 6 | lte : BSONDecimal
26
- 7 | ne : BSONDecimal
27
- 8 | in : [BSONDecimal ]
28
- 9 | nin : [BSONDecimal ]
29
- 10 | }
30
- 11 |
9
+ > 1 | interface Node { id : ID ! }
10
+ | ^^^^ Description is required for \` interface Node\` .
31
11
` ;
32
12
33
13
exports [` 3` ] = `
34
- 1 |
35
- 2 | input SalaryDecimalOperatorsFilterUpdateOneUserInput {
36
- 3 | gt : BSONDecimal
37
- 4 | gte : BSONDecimal
38
- > 5 | lt : BSONDecimal
39
- | ^^ Description is required for nodes of type " InputValueDefinition"
40
- 6 | lte : BSONDecimal
41
- 7 | ne : BSONDecimal
42
- 8 | in : [BSONDecimal ]
43
- 9 | nin : [BSONDecimal ]
44
- 10 | }
45
- 11 |
14
+ > 1 | enum Role { ADMIN }
15
+ | ^^^^ Description is required for \` enum Role\` .
46
16
` ;
47
17
48
18
exports [` 4` ] = `
49
- 1 |
50
- 2 | input SalaryDecimalOperatorsFilterUpdateOneUserInput {
51
- 3 | gt : BSONDecimal
52
- 4 | gte : BSONDecimal
53
- 5 | lt : BSONDecimal
54
- > 6 | lte : BSONDecimal
55
- | ^^^ Description is required for nodes of type " InputValueDefinition"
56
- 7 | ne : BSONDecimal
57
- 8 | in : [BSONDecimal ]
58
- 9 | nin : [BSONDecimal ]
59
- 10 | }
60
- 11 |
19
+ > 1 | scalar Email
20
+ | ^^^^^ Description is required for \` scalar Email\` .
61
21
` ;
62
22
63
23
exports [` 5` ] = `
64
- 1 |
65
- 2 | input SalaryDecimalOperatorsFilterUpdateOneUserInput {
66
- 3 | gt : BSONDecimal
67
- 4 | gte : BSONDecimal
68
- 5 | lt : BSONDecimal
69
- 6 | lte : BSONDecimal
70
- > 7 | ne : BSONDecimal
71
- | ^^ Description is required for nodes of type " InputValueDefinition"
72
- 8 | in : [BSONDecimal ]
73
- 9 | nin : [BSONDecimal ]
74
- 10 | }
75
- 11 |
24
+ > 1 | input CreateUserInput { email : Email ! }
25
+ | ^^^^^^^^^^^^^^^ Description is required for \` input CreateUserInput\` .
76
26
` ;
77
27
78
28
exports [` 6` ] = `
79
- 1 |
80
- 2 | input SalaryDecimalOperatorsFilterUpdateOneUserInput {
81
- 3 | gt : BSONDecimal
82
- 4 | gte : BSONDecimal
83
- 5 | lt : BSONDecimal
84
- 6 | lte : BSONDecimal
85
- 7 | ne : BSONDecimal
86
- > 8 | in : [BSONDecimal ]
87
- | ^^ Description is required for nodes of type " InputValueDefinition"
88
- 9 | nin : [BSONDecimal ]
89
- 10 | }
90
- 11 |
29
+ > 1 | union Media = Book | Movie
30
+ | ^^^^^ Description is required for \` union Media\` .
91
31
` ;
92
32
93
33
exports [` 7` ] = `
94
- 1 |
95
- 2 | input SalaryDecimalOperatorsFilterUpdateOneUserInput {
96
- 3 | gt : BSONDecimal
97
- 4 | gte : BSONDecimal
98
- 5 | lt : BSONDecimal
99
- 6 | lte : BSONDecimal
100
- 7 | ne : BSONDecimal
101
- 8 | in : [BSONDecimal ]
102
- > 9 | nin : [BSONDecimal ]
103
- | ^^^ Description is required for nodes of type " InputValueDefinition"
104
- 10 | }
105
- 11 |
34
+ > 1 | directive @auth(requires: Role!) on FIELD_DEFINITION
35
+ | ^^^^ Description is required for \` directive @auth\` .
106
36
` ;
107
37
108
38
exports [` 8` ] = `
109
- 1 |
110
- 2 | enum EnumUserLanguagesSkill {
111
- > 3 | basic
112
- | ^^^^^ Description is required for nodes of type " EnumValueDefinition"
113
- 4 | fluent
114
- 5 | native
115
- 6 | }
116
- 7 |
39
+ > 1 | type User { email : Email ! }
40
+ | ^^^^^ Description is required for \` User.email\` .
117
41
` ;
118
42
119
43
exports [` 9` ] = `
120
- 1 |
121
- 2 | enum EnumUserLanguagesSkill {
122
- 3 | basic
123
- > 4 | fluent
124
- | ^^^^^^ Description is required for nodes of type " EnumValueDefinition"
125
- 5 | native
126
- 6 | }
127
- 7 |
44
+ > 1 | input CreateUserInput { email : Email ! }
45
+ | ^^^^^ Description is required for \` CreateUserInput.email\` .
128
46
` ;
129
47
130
48
exports [` 10` ] = `
131
- 1 |
132
- 2 | enum EnumUserLanguagesSkill {
133
- 3 | basic
134
- 4 | fluent
135
- > 5 | native
136
- | ^^^^^^ Description is required for nodes of type " EnumValueDefinition"
137
- 6 | }
138
- 7 |
49
+ > 1 | enum Role { ADMIN }
50
+ | ^^^^^ Description is required for \` Role.ADMIN\` .
139
51
` ;
140
52
141
53
exports [` 11` ] = `
142
54
1 |
143
55
2 | type CreateOneUserPayload {
144
56
> 3 | recordId : MongoID
145
- | ^^^^^^^^ Description is required for nodes of type " FieldDefinition "
57
+ | ^^^^^^^^ Description is required for \ ` CreateOneUserPayload.recordId \` .
146
58
4 | record: User
147
59
5 | }
148
60
6 |
@@ -153,7 +65,7 @@ exports[` 12`] = `
153
65
2 | type CreateOneUserPayload {
154
66
3 | recordId : MongoID
155
67
> 4 | record : User
156
- | ^^^^^^ Description is required for nodes of type " FieldDefinition "
68
+ | ^^^^^^ Description is required for \ ` CreateOneUserPayload.record \` .
157
69
5 | }
158
70
6 |
159
71
` ;
@@ -163,27 +75,27 @@ exports[` 13`] = `
163
75
2 | # linesBefore !== 1
164
76
3 |
165
77
> 4 | query {
166
- | ^^^^^ Description is required for nodes of type " OperationDefinition "
78
+ | ^^^^^ Description is required for \ ` query \` .
167
79
5 | foo
168
80
6 | }
169
81
7 |
170
82
` ;
171
83
172
84
exports [` 14` ] = `
173
- > 1 | mutation { test }
174
- | ^^^^^^^^ Description is required for nodes of type "OperationDefinition"
85
+ > 1 | mutation createUser { foo }
86
+ | ^^^^^^^^ Description is required for \` mutation createUser \` .
175
87
` ;
176
88
177
89
exports [` 15` ] = `
178
- > 1 | subscription { test }
179
- | ^^^^^^^^^^^^ Description is required for nodes of type "OperationDefinition"
90
+ > 1 | subscription commentAdded { foo }
91
+ | ^^^^^^^^^^^^ Description is required for \` subscription commentAdded \` .
180
92
` ;
181
93
182
94
exports [` 16` ] = `
183
95
1 |
184
96
2 | # eslint-disable-next-line semi
185
97
> 3 | query {
186
- | ^^^^^ Description is required for nodes of type " OperationDefinition "
98
+ | ^^^^^ Description is required for \ ` query \` .
187
99
4 | foo
188
100
5 | }
189
101
6 |
@@ -197,7 +109,7 @@ exports[` 17`] = `
197
109
5 | }
198
110
6 |
199
111
> 7 | query {
200
- | ^^^^^ Description is required for nodes of type " OperationDefinition "
112
+ | ^^^^^ Description is required for \ ` query \` .
201
113
8 | user {
202
114
9 | ... UserFields
203
115
10 | }
0 commit comments