React-apollo: Missing readQuery, writeQuery

Created on 6 Apr 2017  路  4Comments  路  Source: apollographql/react-apollo

Hi, i dont' have on my client readQuery and writeQuery :

missing readquery

i read this article:
https://dev-blog.apollodata.com/apollo-clients-new-imperative-store-api-6cb69318a1e3

can someone tell me if its normal or if i do somehting wrong ?

Version

Most helpful comment

The readQuery and writeQuery methods should be under __proto__

All 4 comments

Hi @bwanlin are you sure those are the versions that are bundled in your app? If so, please provide a reproduction using the error template so we can investigate. Thanks!

Hello @helfer! I have the same problem. I also tried to reproduce but [email protected] defaults the Graphql package to 0.9.2! Rewriting the package.json and reinstalling with --force didn't do the trick for me

hello @helfer , i reproduce this on your error template https://github.com/bwanlin/react-apollo-error-template

The readQuery and writeQuery methods should be under __proto__

Was this page helpful?
0 / 5 - 0 ratings