Skip to content

Conversation

maca88
Copy link
Contributor

@maca88 maca88 commented Aug 13, 2020

Fix for a regression made by #2010, which added an optimization for ISet<> and ICollection<> Add method for not initializing the collection in case the added element is transient. The fix adds an additional check, which checks whether the Equals method is overridden and in case it is, the collection will be intialized as it was prior #2010.

Fixes #2476

@fredericDelaporte fredericDelaporte added this to the 5.3.3 milestone Aug 16, 2020
@fredericDelaporte fredericDelaporte merged commit 3f8afe3 into nhibernate:5.3.x Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants