File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -284,14 +284,15 @@ export function buildClientSchema(
284
284
return new GraphQLEnumType ( {
285
285
name : enumIntrospection . name ,
286
286
description : enumIntrospection . description ,
287
- values : keyValMap (
288
- enumIntrospection . enumValues ,
289
- ( valueIntrospection ) => valueIntrospection . name ,
290
- ( valueIntrospection ) => ( {
291
- description : valueIntrospection . description ,
292
- deprecationReason : valueIntrospection . deprecationReason ,
293
- } ) ,
294
- ) ,
287
+ values : ( ) =>
288
+ keyValMap (
289
+ enumIntrospection . enumValues ,
290
+ ( valueIntrospection ) => valueIntrospection . name ,
291
+ ( valueIntrospection ) => ( {
292
+ description : valueIntrospection . description ,
293
+ deprecationReason : valueIntrospection . deprecationReason ,
294
+ } ) ,
295
+ ) ,
295
296
} ) ;
296
297
}
297
298
You can’t perform that action at this time.
0 commit comments