Migrating to Apollo Client @apollo/client-graphql-codegen@1.0.0
Complete guide for upgrading to Apollo Client @apollo/client-graphql-codegen@1.0.0.
Released: 8/21/2025
0
Breaking Changes
4
Migration Steps
4
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
@apollo/client-graphql-codegen/local-stateLocalStateResolversCodegenConfigMigration Steps
- 1Install `@apollo/client-graphql-codegen`.
- 2Add the plugin entry `@apollo/client-graphql-codegen/local-state` to your codegen configuration under `plugins`.
- 3Optionally configure plugin settings such as `nonOptionalTypename`, `baseTypesPath`, and `contextType` in the `config` object for the generated file.
- 4Make sure the `schema` option points to your local schema file (not the full app schema) to limit resolver generation to local fields.
Release Summary
This release adds a new GraphQL Codegen plugin for generating LocalState resolver types and bumps the codegen package version to a release candidate.
Need More Details?
View the full release notes and all changes for Apollo Client @apollo/client-graphql-codegen@1.0.0.
View Full Changelog