We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83486dd commit 619d9ebCopy full SHA for 619d9eb
.changeset/pink-countries-know.md
@@ -0,0 +1,5 @@
1
+---
2
+'@graphql-eslint/eslint-plugin': patch
3
4
+
5
+fix for `no-unreachable-types` does not recognize implemented interfaces
packages/plugin/src/graphql-ast.ts
@@ -82,10 +82,7 @@ export function collectReachableTypes(schema: GraphQLSchema): Set<string> {
82
83
function collectFromInterfaces(interfaces: GraphQLInterfaceType[]): void {
84
if (interfaces) {
85
- interfaces.forEach(interfaceType => {
86
- collectFromFieldMap(interfaceType.getFields());
87
- collectFromInterfaces(interfaceType.getInterfaces());
88
- });
+ interfaces.forEach(collectFrom);
89
}
90
91
0 commit comments