-
-
Notifications
You must be signed in to change notification settings - Fork 520
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
Struct / enum derive PartialEq should also derive Eq #988
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @w93163red, thanks for contributing!! Please check w93163red#1 for the refactoring and fixes :D
Fix clippy warnings & test cases
I merged the change~ Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for contributing!! @w93163red
Awesome |
It would be very useful to have this as soon as possible. Every time we generate with 0.9.3 we have to undo the changes (I cannot disable linting in CI). Can we release 0.9.4 with this only? |
Can do |
? Are you going to? |
PR Info
[codegen] Struct / enum derive
PartialEq
should also deriveEq
#965Adds
[codegen] Struct / enum derive PartialEq should also derive Eq
Changes
Add a function to check if f32/f64 exists on the column. If not, add Eq on the derived part.
Testing: