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

Assert must preload and loadRecords #77

Merged
merged 5 commits into from
Apr 10, 2019
Merged

Conversation

ryanto
Copy link
Member

@ryanto ryanto commented Apr 10, 2019

This PR allows calls to loadRecords to track includes at the model level. This means that models that enter the store with loadRecords will behavior properly with things like load and assert-must-preload.

#66

ryanto added 5 commits April 9, 2019 21:24
Assert must preload can now be used with models that were loaded by loadRecords, since each models loaded relationships are individually tracked.
Also I put some tests in the wrong file! :(
@ryanto ryanto merged commit 4c26a29 into master Apr 10, 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.

1 participant