laravel-mongodb icon indicating copy to clipboard operation
laravel-mongodb copied to clipboard

Fix incorrect behaviour when comparing castable attributes in `originalIsEquivalent` method

Open guram-vashakidze opened this issue 4 months ago • 1 comments

Hello,

Found issue, when I'm using custom cast on attribute and save data in object type this attribute every time appeared in getDirty list. This behaviour because of ignoring custom casts in originalIsEquivalent.

guram-vashakidze avatar Aug 07 '25 14:08 guram-vashakidze

Hi @GromNaN, Can you look at my PR, pls?

guram-vashakidze avatar Aug 07 '25 14:08 guram-vashakidze