@apollo/client-graphql-codegen@1.0.0
📦 apollo-client
✨ 1 features🔧 4 symbols
Summary
This release adds a new GraphQL Codegen plugin for generating LocalState resolver types and bumps the codegen package version to a release candidate.
Migration Steps
- Install `@apollo/client-graphql-codegen`.
- Add the plugin entry `@apollo/client-graphql-codegen/local-state` to your codegen configuration under `plugins`.
- Optionally configure plugin settings such as `nonOptionalTypename`, `baseTypesPath`, and `contextType` in the `config` object for the generated file.
- Make sure the `schema` option points to your local schema file (not the full app schema) to limit resolver generation to local fields.
✨ New Features
- Introduce a new GraphQL Codegen plugin `@apollo/client-graphql-codegen/local-state` that generates resolver types for `LocalState`.
🔧 Affected Symbols
@apollo/client-graphql-codegen/local-stateLocalStateResolversCodegenConfig