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

Fix promise chaining and create shallow copy of ops before passing to store.query #262

Merged
merged 1 commit into from
Jan 5, 2019

Conversation

synaptiko
Copy link
Contributor

We found two problems in the current code:

  1. promises cannot be chained, there are missing returns
  2. in case ops object passed to store.query is modified in adapter (eg. by deleting a property) it would cause inconsistency

I can split to two separate PRs if you think it would be better or if you are not interested in the second fix.

@broerse broerse merged commit 83ee18d into mharris717:master Jan 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants