@theguild/federation-composition 0.14.0 → 0.14.1-rc-20241107142813-2df8f72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14,7 +14,7 @@ function InterfaceFieldNoImplementationRule(context, supergraph) {
|
|
|
14
14
|
throw new Error(`Expected an interface to exist in supergraph state`);
|
|
15
15
|
}
|
|
16
16
|
if (interfaceTypeState.kind !== 'interface') {
|
|
17
|
-
|
|
17
|
+
return;
|
|
18
18
|
}
|
|
19
19
|
const nonRequiredFields = [];
|
|
20
20
|
for (const [graph, interfaceStateInGraph] of interfaceTypeState.byGraph) {
|
|
@@ -11,7 +11,7 @@ export function InterfaceFieldNoImplementationRule(context, supergraph) {
|
|
|
11
11
|
throw new Error(`Expected an interface to exist in supergraph state`);
|
|
12
12
|
}
|
|
13
13
|
if (interfaceTypeState.kind !== 'interface') {
|
|
14
|
-
|
|
14
|
+
return;
|
|
15
15
|
}
|
|
16
16
|
const nonRequiredFields = [];
|
|
17
17
|
for (const [graph, interfaceStateInGraph] of interfaceTypeState.byGraph) {
|
package/package.json
CHANGED