`@graphql-eslint/no-unreachable-types` reports issues with interfaces
See original GitHub issueGiven this
interface User {
}
type SuperUser implements User {
}
type Query {
user: User!
}
We’ll get an error regarding SuperUser
no in use.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
bug: `no-unreachable-types` does not recognize implemented ...
version: v0.7.2 repro: interface Foo { foo: String } type FooBar ... error Type "Foo" is unreachable @graphql-eslint/no-unreachable-types.
Read more >Readme - @graphql-eslint/eslint-plugin - npm
For example, no-unreachable-types checks that all types are reachable by root-level fields. To use these rules, you'll need to tell ESLint ...
Read more >Unions and interfaces - Apollo GraphQL Docs
Unions and interfaces are abstract GraphQL types that enable a schema field to return one of multiple object types. Union type.
Read more >no-unreachable - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >TSConfig Reference - Docs on every TSConfig option
In some cases where no type annotations are present, TypeScript will fall back to a type of any for a variable when it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
#361
I’ll fix it