graphql-codegen-hasura
graphql-codegen-hasura copied to clipboard
Typescript error with ts generated file for cacheWrite methods
https://github.com/ablestack/graphql-codegen-hasura/blob/db5de3d08401f04912291b9c2df8a7920e42c72e/packages/graphql-codegen-hasura-shared/src/tshelperInjectors.ts#L135
Running @apollo/client version 3.1.4.
Looks like the types were updated here: https://github.com/apollographql/apollo-client/commit/7202b78574f9fddd2a513a7f5ebd9212e989f825#diff-a425d86f9a8376d3071667e3198c940a
The solution here would be to not return the result of apolloCache.writeQuery...
?
Hi @smblee
Thanks for reporting. I'll take a look and make the updates when I get a chance. It might be a little while, before I can get to it. But, also, feel free to make the changes and submit a pull request.
Thanks!