File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -311,10 +311,7 @@ export const __Field = new GraphQLObjectType({
311
311
resolve : field => field . args || [ ]
312
312
} ,
313
313
type : { type : new GraphQLNonNull ( __Type ) } ,
314
- isDeprecated : {
315
- type : new GraphQLNonNull ( GraphQLBoolean ) ,
316
- resolve : field => field . isDeprecated ,
317
- } ,
314
+ isDeprecated : { type : new GraphQLNonNull ( GraphQLBoolean ) } ,
318
315
deprecationReason : {
319
316
type : GraphQLString ,
320
317
}
@@ -352,10 +349,7 @@ export const __EnumValue = new GraphQLObjectType({
352
349
fields : ( ) => ( {
353
350
name : { type : new GraphQLNonNull ( GraphQLString ) } ,
354
351
description : { type : GraphQLString } ,
355
- isDeprecated : {
356
- type : new GraphQLNonNull ( GraphQLBoolean ) ,
357
- resolve : enumValue => enumValue . isDeprecated ,
358
- } ,
352
+ isDeprecated : { type : new GraphQLNonNull ( GraphQLBoolean ) } ,
359
353
deprecationReason : {
360
354
type : GraphQLString ,
361
355
}
You can’t perform that action at this time.
0 commit comments