Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to graphql-code-generator #216

Closed
kdembler opened this issue Jan 15, 2021 · 0 comments
Closed

Migrate to graphql-code-generator #216

kdembler opened this issue Jan 15, 2021 · 0 comments
Assignees

Comments

@kdembler
Copy link
Member

Currently, we use apollo-tooling (Apollo Codegen) to generate Typescript typings for all of our queries based on the schema. However, Apollo Codegen seems unmaintained for some time now and there are some issues with it. (generating interfaces instead of types, a lot of types duplication, weird types for some queries/unions). At some point we should switch to https://github.com/dotansimha/graphql-code-generator instead - it's much better maintained and offers much more features. There is a proposal to actually move Apollo Codegen to that library but doesn't seem to be moving forward. More details and possible migration guide here - apollographql/apollo-tooling#2053

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants