Hi Apollo team
I see rover subgraph check command is there to check subgraph for schema and linting checks, so I get it you have your own rules but can they be modified.
Suppose I want a rule that, inside query user cannot put return type as scalar value, it should be always object
or any other kind of checks
example -
wrong —
type query{
names: String
}
correct –
type query {
names: allNames
}
type allNames{
name: string
}
As of writing we currently do not support custom lint rules. You can configure the existing rules in your Studio graph settings and in that UI we have a form to requests new rules so that would be a good place to submit that request
1 Like