You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2024. It is now read-only.
Regardless of the by_value setting, AbstractMongoStrategy::hydrateCollection always attaches AllowRemoveByValue strategy. When by_value is false it should attach AllowRemoveByReference instead.
The text was updated successfully, but these errors were encountered:
The hydration of the object still respects the by_value configuration. The strategy is something that is configured to extract / hydrate a property. So the strategy does not NEED to respect the hydrator. It is something stand-alone that is attached to the hydrator.
I agree that in an ideal situation you could choose between the strategy base class. However this won't be an easy fix. It is also not a good idea to create duplicate strategies just to respect the by_value configuration of the main hydrator. We will propably have to think this one through.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Regardless of the
by_value
setting,AbstractMongoStrategy::hydrateCollection
always attachesAllowRemoveByValue
strategy. Whenby_value
is false it should attachAllowRemoveByReference
instead.The text was updated successfully, but these errors were encountered: