graphql-schema-linter
graphql-schema-linter copied to clipboard
Validate GraphQL schema definitions against a set of rules
Hi, The above two rules are not working for my schema. ` ``` type Friend{ id: String, firstname: String, lastName: String, gender: Gender, age: Int, email: String, contacts: [Contact] }...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [chalk](https://togithub.com/chalk/chalk) | [`^2.0.1` -> `^5.0.0`](https://renovatebot.com/diffs/npm/chalk/2.0.1/5.2.0) | [](https://docs.renovatebot.com/merge-confidence/)...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`2.6.2` -> `2.8.8`](https://renovatebot.com/diffs/npm/prettier/2.6.2/2.8.8) | [](https://docs.renovatebot.com/merge-confidence/) |...
Please consider the schema below. The comment at the top follows the docs for disabling a rule. When running the linter against that schema, the error `A ``PageInfo`` object type...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [glob](https://togithub.com/isaacs/node-glob) | [`^7.1.2` -> `^8.0.0`](https://renovatebot.com/diffs/npm/glob/7.1.2/8.0.3) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [cosmiconfig](https://togithub.com/davidtheclark/cosmiconfig) | [`^5.2.1` -> `^7.0.0`](https://renovatebot.com/diffs/npm/cosmiconfig/5.2.1/7.0.1) | [](https://docs.renovatebot.com/merge-confidence/)...
Inspired by prior work done in https://github.com/cjoudrey/graphql-schema-linter/pull/266. This pull request modifies the `DefinedTypesAreUsed` rule to report unused types named `Query`, `Mutation`, and `Subscription` when the schema is configured to use...
We are developing micro-services in NestJS-typescript, Each of them exposes a GraphQL schema. In order to expose a single graph, we are using a federation service, also in NestJS. I...
When we have a circular schema reference e.g. if a Post contains User and User contains posts, and they are in separate files that import each other then the linter...
```gql "file1.gql" type Query { items: [Item] } ``` ```gql "file2.gql" type Query { item: Item } ```