Catch the highlights of GraphQLConf 2023! Click for recordings. Or check out our recap blog post.
Docs
Migration Guides
GraphQL-CLI Deprecation

GraphQL-CLI Deprecation

The GraphQL-CLI is no longer maintained, and we recommend using the GraphQL-Codegen CLI directly instead.

⚠️
The plugin @graphql-cli/codegen is deprecated, and no longer maintained!

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:

graphql generate

After:

graphql-codegen