GraphQL-CLI Deprecation
GraphQL-CLI Deprecation — GraphQL Code Generator documentation.
The GraphQL-CLI is no longer maintained, and we recommend using the GraphQL-Codegen CLI directly
instead.
Migrating from GraphQL-CLI to Codegen CLI
The Codegen plugin for GraphQL-CLI was wrapping the commands implemented in GraphQL-CLI, in order
to provide a unified experience. You can switch to use GraphQL-Codegen CLI directly.
Remove @graphql-cli/codegen and
install the GraphQL Codegen CLI (@graphql-codegen/cli). Then
migration your commands to use the Codegen CLI directly:
Before:
After: