enonic / app-guillotine

Apache License 2.0
2 stars 3 forks source link

Add `graphql.extensions.modifyUnknownField` config #788

Closed anatol-sialitski closed 6 months ago

anatol-sialitski commented 6 months ago

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 is throw.