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

Equals and GetHashCode generation #59

Open
WinterG26 opened this issue Oct 30, 2024 · 1 comment
Open

Equals and GetHashCode generation #59

WinterG26 opened this issue Oct 30, 2024 · 1 comment

Comments

@WinterG26
Copy link

Is your feature request related to a problem? Please describe.
I’m often frustrated when I need to manually implement equality logic for my classes, especially since it involves consistently generating the == and != operators, Equals and GetHashCode methods, and implementing the IEquatable interface. This is particularly important for ensuring accurate and reliable behavior in collections and comparisons but can lead to repetitive, boilerplate code that is easy to overlook.

Describe the solution you'd like
It would be incredibly helpful if Lombok.net could automatically generate the == and != operators, Equals and GetHashCode methods, and generate override method for classes that's already implement the IEquatable interface.

@CollinAlpert
Copy link
Owner

Thanks for this feature request, it seems valid and I will implement it. Unfortunately, due to personal reasons, I won't be able to do so for some time.

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

No branches or pull requests

2 participants