We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 138188b commit f33cc7eCopy full SHA for f33cc7e
src/type/definition.ts
@@ -1631,7 +1631,6 @@ export class GraphQLInputObjectType {
1631
this.extensions = config.extensions && toObjMap(config.extensions);
1632
this.astNode = config.astNode;
1633
this.extensionASTNodes = config.extensionASTNodes ?? [];
1634
-
1635
this._fields = defineInputFieldMap.bind(undefined, config);
1636
devAssert(typeof config.name === 'string', 'Must provide name.');
1637
}
@@ -1650,6 +1649,7 @@ export class GraphQLInputObjectType {
1650
1649
defaultValue: field.defaultValue,
1651
extensions: field.extensions,
1652
astNode: field.astNode,
+ deprecationReason: field.deprecationReason,
1653
}));
1654
1655
return {
0 commit comments