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

Remove data property from fetchMore result #1416

Merged
merged 3 commits into from
Mar 17, 2017

Conversation

cesarsolorzano
Copy link
Contributor

@cesarsolorzano cesarsolorzano commented Mar 15, 2017

This patch fix issue #1384

TODO:

  • 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
  • Update CHANGELOG.md with your change
  • If this was a change that affects the external API, update the docs and post a link to the PR in the discussion

@cesarsolorzano cesarsolorzano changed the title Fix #1384 - remove data property from fetchMore result Remove data property from fetchMore result Mar 15, 2017
@helfer
Copy link
Contributor

helfer commented Mar 16, 2017

Thanks for the PR @cesarsolorzano! I think this is the right thing to do. It probably won't break anything, but we'll have to note it as a breaking change in the changelog because it affects the external API. Can you add a changelog entry please?

@stubailo
Copy link
Contributor

Yeah - everyone using fetchMore will have to change their code for this right? We should make sure we write a good migration guide to 1.0

@cesarsolorzano
Copy link
Contributor Author

@helfer done!

@helfer
Copy link
Contributor

helfer commented Mar 17, 2017

This looks great @cesarsolorzano, thanks a lot! 👍 I will merge it later today 🙂

@@ -4,6 +4,7 @@ Expect active development and potentially significant breaking changes in the `0

### vNEXT
- Fix: Update TypeScript Middleware and Afterware interfaces to include a datatype for 'this' in apply function. [PR #1372](https://github.com/apollographql/apollo-client/pull/1372)
- Breaking: Remove data property from fetchMore result [PR #1416](https://github.com/apollographql/apollo-client/pull/1416)
Copy link

Choose a reason for hiding this comment

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

Afaict this changelog item did not make it into https://github.com/apollographql/react-apollo/blob/master/Changelog.md which caused me a great deal of confusion on upgrade.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 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.

4 participants