dotansimha / dotansimha/graphql-code-generator-community

Support for nested keyfields for Apollo-Client-Helpers

Open
#97 7 comments 8 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
137
Forks
195
Avg merge
6h 20m
Merged PRs (30d)
16

Description

**Is your feature request related to a problem? Please describe.**
Looking at book typepolicy keyfields example from the apollo client docs https://www.apollographql.com/docs/react/caching/cache-configuration/#generating-unique-identifiers you can see there is support for nested fields. However the types that get generated from the apollo-client helpers don't seem to support this yet and gives an error where you try to use a nested keyfield.

**Describe the solution you'd like**

support for nested keyfields.

Apollo-Client Helpers looks like a great addition to the already amazing code generator 👍

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.