Skip to content

Commit 6ae37e5

Browse files
committed
Include deprecationReason when capturing fields in toConfig()
1 parent 138188b commit 6ae37e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/type/definition.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1650,6 +1650,7 @@ export class GraphQLInputObjectType {
16501650
defaultValue: field.defaultValue,
16511651
extensions: field.extensions,
16521652
astNode: field.astNode,
1653+
deprecationReason: field.deprecationReason,
16531654
}));
16541655

16551656
return {

0 commit comments

Comments
 (0)