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
A bit of background, we're working with a Federated Schema, built using TypeGraphQL and Apollo. As a quality measure, I want to implement schema linting, to help us maintain this rather large, and growing graph.
We have a large monolith graph that we are migrating away from, and are no longer making changes to that old schema. Thus, I don't want to include it in our linting, but rather just ignore everything in it. This is where ignore rules come into play.
I've successfully ignored quite a few of the rules, using a graphql-schema-linter.config.js that imports a set of rules that are related to the legacy schema, like this:
I'm having issues with the arguments-have-descriptions and input-object-values-are-camel-cased rules specifically.
Here's an example of two such errors:
14:5 The `SERVICEID` argument of `conditionFilterQuery` is missing a description. arguments-have-descriptions
14:5 The input value `conditionFilterQuery.SERVICEID` is not camel cased. input-object-values-are-camel-cased
My problem is that neither of these ignore rules (or combinations of them) have any effect:
A bit of background, we're working with a Federated Schema, built using TypeGraphQL and Apollo. As a quality measure, I want to implement schema linting, to help us maintain this rather large, and growing graph.
We have a large monolith graph that we are migrating away from, and are no longer making changes to that old schema. Thus, I don't want to include it in our linting, but rather just ignore everything in it. This is where ignore rules come into play.
I've successfully ignored quite a few of the rules, using a
graphql-schema-linter.config.js
that imports a set of rules that are related to the legacy schema, like this:I'm having issues with the
arguments-have-descriptions
andinput-object-values-are-camel-cased
rules specifically.Here's an example of two such errors:
My problem is that neither of these
ignore
rules (or combinations of them) have any effect:Any idea on what I'm doing wrong?
The text was updated successfully, but these errors were encountered: