-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "reduxRootSelector" parameter to the ApolloClient contructor #631
Add "reduxRootSelector" parameter to the ApolloClient contructor #631
Conversation
For backwards compatibility, can we still accept a Perhaps we can remove the backcompat in 1.0. |
Would we be against having |
@abhiaiyer91 I was thinking it would be simpler to just have one way to pass it. But I would be on board with a hybrid option. I think calling it |
@stubailo @abhiaiyer91 We cannot actually remove the |
@wizardzloy I'll need to update this in react-apollo as well |
Is there any reason you would care what that key is called if you didn't create the store yourself? Since then Apollo is the only thing using that store. |
@stubailo fair enough, if you don't see a scenario for that, I don't see it either. Let's then proceed with the @jbaxleyiii sure, I'll open a PR to |
This looks great, we should merge it ASAP! |
…deprecate "reduxRootKey"
75fb67d
to
037da2e
Compare
@stubailo I've updated the PR according to your comments |
Merging here: #662 |
Done! |
This feature was discussed with @stubailo on the Slack channel