Skip to content

Generated schema not the correct Type? #1321

Answered by JoviDeCroock
GollyJer asked this question in Q&A
Discussion options

You must be logged in to vote

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)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@GollyJer
Comment options

Answer selected by kitten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants