Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make after_load association callbacks take effect when eager loading …
…via eager Previously, they did not take affect when eager loading. They still do not take affect when eager loading via eager_graph, but now they take affect when eager loading via eager, since support was easy to add. They are supported outside the :eager_loader, so even if you define your own eager_loader, they still get run correctly. This is a slight breakage of backwards compatibility, but it's definitely the desired behavior in most circumstances.
- Loading branch information
1 parent
1cfb97e
commit 915ccc1
Showing
5 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters