Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor/add-equals-and-hashcode-to-businessexception #86

Conversation

codespearhead
Copy link
Contributor

  • Added @EqualsAndHashCode(callSuper = false) to BusinessException to ensure that equality and hashCode calculations are based solely on business-specific fields (code and messages).

Closes: #85

- Added `@EqualsAndHashCode(callSuper = false)` to `BusinessException` to ensure that equality and hashCode calculations are based solely on business-specific fields (`code` and `messages`).

Closes: appiepollo14#85
Signed-off-by: Pedro Aguiar <[email protected]>
@appiepollo14
Copy link
Owner

Another great catch. Thank you for your effort.

@appiepollo14 appiepollo14 merged commit 7b8bfc2 into appiepollo14:master Oct 8, 2024
1 check passed
@codespearhead codespearhead deleted the refactor/add-equals-and-hashcode-to-businessexception branch October 8, 2024 16:18
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.

equality and hashCode logic should only depend on the fields in the BusinessException
2 participants