Open talaltoukan opened 3 years ago
Thank you for creating this @talaltoukan . Can you please provide a reproduction of the issue?
Also, we have an issue template that requires details on versions, please do not ignore these, since it seems like your are using an outdated version of codegen or it's dependencies (because of the @graphql-toolkit
usage, which is no longer exists).
Describe the bug The code generator throws an error when a federated schema is passed in.
To Reproduce Steps to reproduce the behavior: Hello, I am trying to break down my graphql schema into different files and modules. I am working with a federated schema. I have imported the different files and generated a
GraphQLSchema
object in anindex.ts
file like so:To generate this schema for typescript, I use the code generator with the following codegen.yaml :
When I run the command to generate the code, I get the following error: