Skip to content

fix(support): Stop model Equals throwing when the other list is null - #9

Merged
ProNotion merged 1 commit into
integration/AMZDWfrom
feature/support-api
Oct 21, 2026
Merged

ProNotion merged 1 commit into
integration/AMZDWfrom
feature/support-api

Conversation

@ProNotion

Copy link
Copy Markdown
Owner

Brings 80b2dc0 from feature/support-api (upstream abuzuhri#960) into integration/AMZDW. Tests: full suite passes.

The generated Equals compared list properties with SequenceEqual without
checking the other instance's list, so comparing a model that has a list
against one that does not threw ArgumentNullException instead of
returning false. Raised by CodeRabbit on abuzuhri#960.

Tests: added Equals_ReturnsFalseWhenOnlyOneSideHasAList. Full suite passes (18/18).
Breaking: no
@ProNotion
ProNotion merged commit da2bfc2 into integration/AMZDW Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant