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

Pass a context object around with store data #377

Closed
wants to merge 1 commit into from

Conversation

nevir
Copy link
Contributor

@nevir nevir commented Jul 11, 2016

Prompted by #376's brittleness; this helps keep common state/configuration around when performing a query.


I'm not sure whether I should also refactor diffQueryAgainstStore, diffFragmentAgainstStore, readQueryFromStore, readFragmentFromStore to expose this context or not.

This was referenced Jul 11, 2016
nevir added a commit to convoyinc/apollo-client that referenced this pull request Jul 11, 2016
Prompted by apollographql#376's brittleness; this helps keep common state/configuration around when performing a query.

---

Also, as part of this, I noticed there are two seemingly unused functions: `diffQueryAgainstStore`, `diffFragmentAgainstStore`
@nevir
Copy link
Contributor Author

nevir commented Jul 14, 2016

Rebased this, #376 & #378

nevir added a commit to convoyinc/apollo-client that referenced this pull request Jul 15, 2016
@nevir
Copy link
Contributor Author

nevir commented Jul 21, 2016

Folding this into #376

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.

1 participant