Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for directive deviation checks in Schema Checks/Linting #249

Open
lleadbet opened this issue Aug 21, 2023 · 0 comments
Open

Support for directive deviation checks in Schema Checks/Linting #249

lleadbet opened this issue Aug 21, 2023 · 0 comments

Comments

@lleadbet
Copy link

Context

Federation allows for custom executable directives to exist in the supergraph so long as all subgraphs agree upon a shared definition. This means that if a single subgraph either omits or changes the definition for a custom directive, it is removed from the resulting supergraph, potentially impacting client operations.

This feels like the ideal situation for either schema checks or linting to resolve as it can either result in a warning via linting (or error if configured), or as an error if the resulting supergraph would break client usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant