@@ -163,17 +163,21 @@ mod tests {
163163 context. schema . objects . insert (
164164 "User" . to_string ( ) ,
165165 GqlObject {
166+ description : None ,
166167 name : "User" . to_string ( ) ,
167168 fields : vec ! [
168169 GqlObjectField {
170+ description: None ,
169171 name: "first_name" . to_string( ) ,
170172 type_: FieldType :: Named ( Ident :: new( "String" , Span :: call_site( ) ) ) ,
171173 } ,
172174 GqlObjectField {
175+ description: None ,
173176 name: "last_name" . to_string( ) ,
174177 type_: FieldType :: Named ( Ident :: new( "String" , Span :: call_site( ) ) ) ,
175178 } ,
176179 GqlObjectField {
180+ description: None ,
177181 name: "created_at" . to_string( ) ,
178182 type_: FieldType :: Named ( Ident :: new( "Date" , Span :: call_site( ) ) ) ,
179183 } ,
@@ -184,13 +188,16 @@ mod tests {
184188 context. schema . objects . insert (
185189 "Organization" . to_string ( ) ,
186190 GqlObject {
191+ description : None ,
187192 name : "Organization" . to_string ( ) ,
188193 fields : vec ! [
189194 GqlObjectField {
195+ description: None ,
190196 name: "title" . to_string( ) ,
191197 type_: FieldType :: Named ( Ident :: new( "String" , Span :: call_site( ) ) ) ,
192198 } ,
193199 GqlObjectField {
200+ description: None ,
194201 name: "created_at" . to_string( ) ,
195202 type_: FieldType :: Named ( Ident :: new( "Date" , Span :: call_site( ) ) ) ,
196203 } ,
@@ -242,21 +249,26 @@ mod tests {
242249 context. schema . objects . insert (
243250 "User" . to_string ( ) ,
244251 GqlObject {
252+ description : None ,
245253 name : "User" . to_string ( ) ,
246254 fields : vec ! [
247255 GqlObjectField {
256+ description: None ,
248257 name: "__typename" . to_string( ) ,
249258 type_: FieldType :: Named ( string_type( ) ) ,
250259 } ,
251260 GqlObjectField {
261+ description: None ,
252262 name: "first_name" . to_string( ) ,
253263 type_: FieldType :: Named ( string_type( ) ) ,
254264 } ,
255265 GqlObjectField {
266+ description: None ,
256267 name: "last_name" . to_string( ) ,
257268 type_: FieldType :: Named ( string_type( ) ) ,
258269 } ,
259270 GqlObjectField {
271+ description: None ,
260272 name: "created_at" . to_string( ) ,
261273 type_: FieldType :: Named ( Ident :: new( "Date" , Span :: call_site( ) ) ) ,
262274 } ,
@@ -267,17 +279,21 @@ mod tests {
267279 context. schema . objects . insert (
268280 "Organization" . to_string ( ) ,
269281 GqlObject {
282+ description : None ,
270283 name : "Organization" . to_string ( ) ,
271284 fields : vec ! [
272285 GqlObjectField {
286+ description: None ,
273287 name: "__typename" . to_string( ) ,
274288 type_: FieldType :: Named ( string_type( ) ) ,
275289 } ,
276290 GqlObjectField {
291+ description: None ,
277292 name: "title" . to_string( ) ,
278293 type_: FieldType :: Named ( Ident :: new( "String" , Span :: call_site( ) ) ) ,
279294 } ,
280295 GqlObjectField {
296+ description: None ,
281297 name: "created_at" . to_string( ) ,
282298 type_: FieldType :: Named ( Ident :: new( "Date" , Span :: call_site( ) ) ) ,
283299 } ,
0 commit comments