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

MONGOID-3795 Add a test of callback invocation order for cascading and non-cascading callbacks #4566

Merged
merged 2 commits into from Feb 6, 2020

Conversation

p-mongo
Copy link
Contributor

@p-mongo p-mongo commented Nov 4, 2018

No description provided.

@p-mongo p-mongo changed the title 3795 wip MONGOID-3795 Clarify/improve order of callback invocation on embedded associations vs host documents Dec 7, 2018
@johnnyshields
Copy link
Contributor

@p-mongo how can we get this fix merged?

@p-mongo
Copy link
Contributor Author

p-mongo commented Oct 2, 2019

This PR is incomplete. I believe there is a decent amount of work left, and specifically the ActiveRecord callback invocation hierarchy seems to not be directly usable in Mongoid (which is what presently happens) due to Mongoid having embedded associations, for which the order of callback invocation needs to be different from the order were those associations referenced.

@p-mongo p-mongo changed the title MONGOID-3795 Clarify/improve order of callback invocation on embedded associations vs host documents wip MONGOID-3795 Clarify/improve order of callback invocation on embedded associations vs host documents Oct 2, 2019
@p-mongo p-mongo changed the title wip MONGOID-3795 Clarify/improve order of callback invocation on embedded associations vs host documents MONGOID-3795 Add a test of callback invocation order for cascading and non-cascading callbacks Feb 6, 2020
@p-mongo p-mongo requested a review from egiurleo February 6, 2020 16:27
@p-mongo p-mongo merged commit ad86838 into mongodb:master Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants