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
While this could break some clients, I believe there are ways to guard against this on the client side and adding new union members is an important tool for schema evolution that we should encourage as a community.
What about introducing a new less scary ADVISORY criticality level?
graphql-inspector currently considers adding new members to an union as
Dangerous
.While this could break some clients, I believe there are ways to guard against this on the client side and adding new union members is an important tool for schema evolution that we should encourage as a community.
What about introducing a new less scary
ADVISORY
criticality level?This, coupled with best practices how to handle unkown types/enum values on the client, would allow teams to update their schemas much more confidently.
Thoughts?
The text was updated successfully, but these errors were encountered: