Skip to content

Assert must preload and loadRecords#77

Merged
ryanto merged 5 commits into
masterfrom
assert-must-preload-and-load-all
Apr 10, 2019
Merged

Assert must preload and loadRecords#77
ryanto merged 5 commits into
masterfrom
assert-must-preload-and-load-all

Conversation

@ryanto
Copy link
Copy Markdown
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