Closed anatol-sialitski closed 6 months ago
Sometimes it can be useful to not fail if trying to modify non-existing fields via creationCallbacks.
creationCallbacks
For that we will use the graphql.extensions.modifyUnknownField = 'ignore' | 'warn' | 'throw' config. Default value is throw.
graphql.extensions.modifyUnknownField = 'ignore' | 'warn' | 'throw'
throw
Sometimes it can be useful to not fail if trying to modify non-existing fields via
creationCallbacks
.For that we will use the
graphql.extensions.modifyUnknownField = 'ignore' | 'warn' | 'throw'
config. Default value isthrow
.