deprecated apollo-codegen@0.19.1
ysantalla opened this issue · comments
npm WARN deprecated apollo-codegen@0.19.1: The 'apollo-codegen' command has been replaced with the more-powerful 'apollo' CLI. Switch to 'apollo' to ensure future updates and visit https://npm.im/apollo#code-generation for more information.
- OS: Ubuntu 18.04
-graphql-cli: 2.16.7 - other packages if applicable
The same happening here.
Unfortunately the new apollo cli seems to be a different beast altogether (e.g. .graphqlconfig
support has been removed). :-/
Would love to see this fixed.
sorry if my suggestion is out of place, but what do you think about making the codegen
command use graphql-code-generator instead?
It is better maintained, supports .graphqlconfig
(related issue) and has many more features (plugins for backend as well, generating full React and Angular components on the frontend, and actually being dowloaded and used more then the Apollo codegen...
It also has a much nicer programatic API that would probably simplify a lot of the code in here
Currently we have new structure for GraphQL CLI and in the new alpha version 4.0.0-alpha.0
.
We use GraphQL Code Generator for codegen
command to generate typings and code from schema using various plugins of it.
Checkout new instructions and we will be happy to hear your feedback. Feel free to contact us using our Discord channel;
https://discord.gg/xud7bH