-
Notifications
You must be signed in to change notification settings - Fork 106
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
Explore Federation v2 linting rules #1824
Comments
Definitely possible |
This lib is really hard to use in a federation project. We have all schema files spread out in packages, we want to lint them individually. And they are using a lot of federation directives, it feels like this should be a core feature of this lint package to support federation since almost all big projects use federation. And with Open Federation on the horizon... well ;) I really dont want to specify/give hints on these things, the lib should pick it up via schema
@link(
url: "https://specs.apollo.dev/federation/v2.4"
import: [
"@key"
"@external"
"@provides"
"@requires"
"@extends"
"@shareable"
"@tag"
"@inaccessible"
"@override"
]
) which federation imports are in place for the particular schema it is linting. |
Is ti possible to create a lint rule for enforcing Fed v2?
This could help with subgraphs that needs to migrate and maybe provide some observability for the status of that kind of migration
The text was updated successfully, but these errors were encountered: