Typing cache config/operations #9161
Unanswered
robertherber
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Seems like some things have changed since I set up codegen last time. Previously I used
@graphql-codegen/typescript-urql-graphcacheto type the cache operations together with@urql/exchange-graphcache- and I feel it's important with types here to make sure things get right.But since then
@graphql-codegen/typescript-urql-graphcacheseems to have been deprecated (guessing since latest publish version not compatible with latest urql version, and I can't seem to find it in the repo here anymore).What's the recommended approach to type up the cache config now? I found
GraphCacheConfigbut it doesn't seem to support any schema-specific typings.Beta Was this translation helpful? Give feedback.
All reactions