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

Hashable value #598

Merged
merged 3 commits into from
Feb 20, 2023
Merged

Hashable value #598

merged 3 commits into from
Feb 20, 2023

Conversation

tyt2y3
Copy link
Member

@tyt2y3 tyt2y3 commented Feb 6, 2023

Fixes SeaQL/sea-orm#1254

I have considered different implementations, and using a derive macro seems to be the easiest to maintain.

However, there is a catch when this feature is enabled: NaN == NaN, which contradicts Rust's built-in implementation of NaN != NaN

@tyt2y3 tyt2y3 force-pushed the hashable-value branch 2 times, most recently from 62a4fe5 to 8a7e3aa Compare February 6, 2023 16:08
Copy link
Member

@ikrivosheev ikrivosheev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tyt2y3 good! Thank you! LGTM!

@tyt2y3 tyt2y3 merged commit 813f7b4 into master Feb 20, 2023
@tyt2y3 tyt2y3 deleted the hashable-value branch February 20, 2023 08:59
@tyt2y3 tyt2y3 mentioned this pull request Jun 29, 2023
4 tasks
@github-actions
Copy link

🎉 Released In 0.29.0 🎉

Your participation is what makes us unique; your adoption is what drives us forward.
Thank you all in the Rust community for making SeaQL what it is today. 🦀
You are also invited to shape it's future! Please star our repos, every ⭐ counts!

@github-actions
Copy link

🎉 Released In 0.29.1 🎉

Thank you everyone for the contribution!
This feature is now available in the latest release. Now is a good time to upgrade!
Your participation is what makes us unique; your adoption is what drives us forward.
You can support SeaQL 🌊 by starring our repos, sharing our libraries and becoming a sponsor ⭐.

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.

Hashable Value
2 participants