|
/** @deprecated will be removed in 17.0.0 */ |
|
typeInfo: TypeInfo = new TypeInfo(schema), |
|
/** @deprecated will be removed in 17.0.0 */ |
|
getFieldDefFn?: GetFieldDefFn, |
From what I understand, by preserving these options, we add the ability for a server to add custom meta fields such as __fulfilled or __directive and still validate properly.
graphql-js/src/validation/validate.ts
Lines 44 to 45 in e1726df
graphql-js/src/utilities/TypeInfo.ts
Lines 66 to 67 in e1726df
From what I understand, by preserving these options, we add the ability for a server to add custom meta fields such as
__fulfilledor__directiveand still validate properly.