reasonml-community / reason-apollo-hooks

Deprecated in favor of https://github.com/reasonml-community/graphql-ppx
https://reasonml-community.github.io/reason-apollo-hooks/
MIT License
137 stars 28 forks source link

Fix refetch response parsing #38

Closed soulplant closed 5 years ago

soulplant commented 5 years ago

Right now calling refetch always results in an exception being raised because reason-apollo-hooks tries to parse the refetch response object, not its "data" field. This change fixes that by picking out the data field in the response.

fakenickels commented 5 years ago

Release under v2.6.0

fakenickels commented 4 years ago

@all-contributors add @soulplant for code

allcontributors[bot] commented 4 years ago

@fakenickels

I've put up a pull request to add @soulplant! :tada:

allcontributors[bot] commented 4 years ago

@fakenickels

A pull request is already open for the branch all-contributors/add-soulplant.

fakenickels commented 4 years ago

@all-contributors add @soulplant for code

allcontributors[bot] commented 4 years ago

@fakenickels

I've put up a pull request to add @soulplant! :tada: