Conversation
|
@kamilmysliwiec |
@Andrius0124 A temporary solution that i am using in my projects transformSchema: (schema) => {
writeFileSync(
join(process.cwd(), 'src/schema.gql'),
printSubgraphSchema(schema),
);
return schema;
},I hope it helps |
|
@endroca Huge help! Works like a charm! Thanks |
|
Looking forward to it! |
|
Hello! Ran into this issue and journeyed along the various issues reported to end up on this PR. Any updates on the status of this getting merged or input on new solutions w/the more recent package updates? |
|
I can confirm this is still a problem. |
|
This is a 3 year old issue that has a simple fix and yet still isn't addressed. This completely breaks using Nest with code-first and federation 2. I'm so confused about how this is just lingering. |
Referer: #1780
## PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #1597
What is the new behavior?
The generated schema contains also the directives needed for the federation.
Does this PR introduce a breaking change?
Other information