apollo-cache-redux icon indicating copy to clipboard operation
apollo-cache-redux copied to clipboard

Work with Redux 4.x?

Open affixalex opened this issue 6 years ago • 3 comments

Is this being actively maintained? Will it ever be update to work with Redux 4.x?

affixalex avatar Jul 09 '18 03:07 affixalex

I'll take a look and see if it can be updated.

rportugal avatar Jul 09 '18 08:07 rportugal

Any updates...I am trying to figure out how to proceed with a redux 4 project that needs upgrading to the latest apollo and curious if I am going to hit immediate issues.

Enalmada avatar Sep 11 '18 18:09 Enalmada

I think this should be considered a bug, given that the NPM readme indicates this library works with apollo-client 2.0 and redux 3.x & 4.x. I have the following versions:

"apollo-client": "^2.4.12",
"react-apollo": "^2.4.0",
"redux": "^4.0.1",

Switching from apollo-cache-inmemory 1.4.2 to apollo-cache-redux 0.1.2 causes the following error for me: https://github.com/apollographql/apollo-client/issues/4076

I've dug in a bit, and it seems like the crash is to do with this condition failing. Seems like the root query object structure now requires a generated flag to be present (probably all nodes do).

Curious whether this is the same error others are encountering.

pospi avatar Jan 25 '19 06:01 pospi