You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skip some supergraph validations in production by default (#2657)
Stop running the full suite of graphQL validations on supergraphs and
their extracted subgraphs by default in production environment.
Running those validations on every updates of the schema takes a
non-negligible amount of time (especially on large schema) and
mainly only serves in catching bugs early in the supergraph handling
code, and in some limited cases, provide slightly better messages
when a corrupted supergraph is received, neither of which is worth
the cost in production environment.
A new `validateSupergraph` option is also introduced in the gateway
configuration to force this behaviour.
Co-authored-by: Chris Lenfest <[email protected]>
Co-authored-by: Trevor Scheer <[email protected]>
0 commit comments