Skip to content

Commit

Permalink
Include deprecationReason when capturing fields in toConfig()
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-scheer committed Sep 3, 2021
1 parent 138188b commit 6ae37e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/type/definition.ts
Expand Up @@ -1650,6 +1650,7 @@ export class GraphQLInputObjectType {
defaultValue: field.defaultValue,
extensions: field.extensions,
astNode: field.astNode,
deprecationReason: field.deprecationReason,
}));

return {
Expand Down

0 comments on commit 6ae37e5

Please sign in to comment.