Open developer239 opened 5 months ago
I decided to patch this file and call it a day. The bug is likely not caused here but by @Directive('@key(fields: "id")')
directive - either the decorator is problematic or the underlying tech.
`--- node_modules/@apollo/federation-internals/dist/schemaUpgrader.js.bak 2024-06-03 14:05:31
+++ node_modules/@apollo/federation-internals/dist/schemaUpgrader.js 2024-06-03 14:05:54
@@ -286,7 +286,7 @@
return;
}
}
- this.addError(error_1.ERRORS.EXTENSION_WITH_NO_BASE.err(`Type "${type}" is an extension type, but there is no type definition for "${type}" in any subgraph.`, { nodes: extensionAST }));
+ // this.addError(error_1.ERRORS.EXTENSION_WITH_NO_BASE.err(`Type "${type}" is an extension type, but there is no type definition for "${type}" in any subgraph.`, { nodes: extensionAST }));
}
preUpgradeValidations() {
for (const type of this.schema.types()) {
`
Issue Description
I am trying to run MOST MINIMALISTIC gateway but I am running into false positive error when one of the dependencies is thinking that Use Objet type is "extension" type.
Auth Module:
Events Module:
Gateway Module:
Link to Reproduction
https://github.com/developer239/nest-microservices-example/tree/v2
Reproduction Steps