Skip to content

Conversation

LeonardHd
Copy link
Contributor

@LeonardHd LeonardHd commented Aug 21, 2024

This pull request addresses a issue #521 where unit tests involving the [EntityId] class were failing due to the lack of an equality check based on key and name To resolve this, we have implemented the __eq__ operator in the EntityId class. This enhancement ensures that instances of EntityId are compared correctly, improving the reliability and accuracy of unit tests.

Changes:

  • Implemented the __eq__ operator in the EntityIdclass to compare instances based onkeyandname`.

This change will make unit tests involving EntityId pass as expected, providing a better user experience for developers.

@davidmrdavid
Copy link
Collaborator

Thanks for your contribution @LeonardHd. This looks great but in order to merge, we need you to update your branch with the latest. Can you please do that? Thanks!

@LeonardHd LeonardHd force-pushed the leonardhd/entity-id-equality branch from 6c2cd76 to c422feb Compare September 11, 2024 21:35
@LeonardHd
Copy link
Contributor Author

@davidmrdavid rebased to latest dev! Would be great getting this in!

@davidmrdavid davidmrdavid merged commit 663084b into Azure:dev Sep 23, 2024
2 checks passed
@davidmrdavid
Copy link
Collaborator

This is great, merged. Thank you @LeonardHd for your contribution!

greenie-msft pushed a commit to greenie-msft/azure-functions-durable-python that referenced this pull request Sep 25, 2025
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.

2 participants