The type of resolvers map for type checking
The type of context value for resolvers
Add resolvers to the local state. New resolvers will be merged with existing ones, with new resolvers taking precedence over existing ones for the same field.
The resolvers to add
LocalState enables the use of
@clientfields in GraphQL operations.@clientfields are resolved locally using resolver functions rather than being sent to the GraphQL server. This allows you to mix local and remote data in a single query.Example