CustomEntityDirtinessStrategy is always calling findDirty independent whether canDirtyCheck would return true
Description
Hi,
I noticed a kind of inconvenient/inconsistent behaviour when using CustomEntityDirtinessStrategy:
For checking whether an entity in general is dirty, a call to canDirtyCheck is made (which is fine):
5.6 / 6.1: //
But then when searching for dirty attributes, the same check is not made anymore to the CustomEntityDirtinessStrategy therefore calling findDirty, even if the strategy is not capable of defining if the entity (and in my opinion implicitly its attributes) are dirty
5.6 // 6.1: //
This is not documented (at least I didn’t find any hint mentioning this behaviour) and actually not expected in my opinion…
Hi,
I noticed a kind of inconvenient/inconsistent behaviour when using
CustomEntityDirtinessStrategy
:For checking whether an entity in general is dirty, a call to
canDirtyCheck
is made (which is fine):5.6 / 6.1: //
But then when searching for dirty attributes, the same check is not made anymore to the
CustomEntityDirtinessStrategy
therefore callingfindDirty
, even if the strategy is not capable of defining if the entity (and in my opinion implicitly its attributes) are dirty5.6 // 6.1: //
This is not documented (at least I didn’t find any hint mentioning this behaviour) and actually not expected in my opinion…