Why does using a string value for keys in Graphcache throws type error? #1224
-
A few of our keys are strings. In your types.ts file it looks like the type can be a Scalar or Primitive. Why the warning? |
Beta Was this translation helpful? Give feedback.
Answered by
JoviDeCroock
Dec 10, 2020
Replies: 1 comment
-
This relates to: #901 we have no way to derive what type this is, you'll have to cast it to the type you want. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kitten
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This relates to: #901 we have no way to derive what type this is, you'll have to cast it to the type you want.