Skip to content
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

Mutation reducers #404

Merged
merged 8 commits into from
Jul 18, 2016
Merged

Mutation reducers #404

merged 8 commits into from
Jul 18, 2016

Conversation

Slava
Copy link
Contributor

@Slava Slava commented Jul 15, 2016

  • Update CHANGELOG.md with your change
  • Make sure all of the significant new logic is covered by tests
  • Rebase your changes on master so that they can be merged easily
  • Make sure all tests and linter rules pass

@Slava Slava changed the title Mutation reducers WIP Mutation reducers Jul 15, 2016
@Slava Slava changed the title WIP Mutation reducers Mutation reducers Jul 18, 2016
@Slava Slava force-pushed the mutation-reducers branch 2 times, most recently from 29a50d3 to 77551cf Compare July 18, 2016 22:15
@Slava
Copy link
Contributor Author

Slava commented Jul 18, 2016

this pr no longer relies on #400

@stubailo stubailo self-assigned this Jul 18, 2016
- Added a "noFetch" option to WatchQueryOptions that only returns available data from the local store (even it is incomplete). [Issue #225](https://github.com/apollostack/apollo-client/issues/225) and [PR #385](https://github.com/apollostack/apollo-client/pull/385).
- Introduce a new (preferable) way to express how the mutation result should be incorporated into the store and update watched queries results: `updateQueries`. [PR #404](https://github.com/apollostack/apollo-client/pull/404).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link the relevant issue?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd also add a new changelog entry that we made writing query results to store more efficient since they maintain object references in the case where data didn't change.

@stubailo
Copy link
Contributor

Looks great to me, just a few comments. Actually really hyped about how little code this was!

@stubailo stubailo assigned Slava and unassigned stubailo Jul 18, 2016
@stubailo
Copy link
Contributor

Also needs to be rebased

Slava added a commit that referenced this pull request Jul 18, 2016
In response to Sashko's code review #404
@Slava Slava force-pushed the mutation-reducers branch from 3ea192c to 897a342 Compare July 18, 2016 22:56
Slava added a commit that referenced this pull request Jul 18, 2016
In response to Sashko's code review #404
@Slava Slava force-pushed the mutation-reducers branch from 897a342 to fa5218e Compare July 18, 2016 23:03
@stubailo stubailo self-assigned this Jul 18, 2016
@stubailo stubailo merged commit 6068f1e into master Jul 18, 2016
@stubailo stubailo deleted the mutation-reducers branch September 20, 2016 03:43
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants