Generated schema not the correct Type? #1321
-
Hi. I'm setting up Schema Awareness and want to be sure I haven't messed up. However, when I pass the generated schema to The top of the generated
What am I missing? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, TypeScript can't really infer the type it seems, it should be safe to ignore/cast this error, we wmight want to look into how to correctly infer the type from a json file. The automatic infer will probably be having issues due to us changing the shape of the |
Beta Was this translation helpful? Give feedback.
Hey,
TypeScript can't really infer the type it seems, it should be safe to ignore/cast this error, we wmight want to look into how to correctly infer the type from a json file.
The automatic infer will probably be having issues due to us changing the shape of the
introspection
to be optimized (we remove things graphcache doesn't need so you save size)