sea-orm icon indicating copy to clipboard operation
sea-orm copied to clipboard

Add `ActiveValue::set_if_not_equals()`

Open Expurple opened this issue 1 year ago • 2 comments

In my dependent project, I have this helper that I use a lot. I think, it's really useful and it's time to upstream it. Without it, the whole .is_changed()/.is_unchanged() story doesn't work properly, IMO.

PR Info

  • Closes <no issues>

  • Dependencies:

    • <none>
  • Dependents:

    • <none>

New Features

  • ActiveValue::set_if_not_equals()

Bug Fixes

  • <none>

Breaking Changes

  • <none>

Changes

  • <none>

Expurple avatar Apr 10 '24 19:04 Expurple

CI fails because sqlx-sqlite v0.7.4 doesn't compile. This doesn't seem to be my fault

Expurple avatar Apr 10 '24 19:04 Expurple

Updated the branch to resolve the merge conflict. Looks like we're good to go now. And the CI doesn't fail anymore

Expurple avatar May 09 '24 19:05 Expurple

:tada: Released In 1.0.0-rc.5 :tada:

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 ⭐.

github-actions[bot] avatar May 29 '24 15:05 github-actions[bot]

:tada: Released In 1.0.0 :tada:

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 ⭐.

github-actions[bot] avatar Aug 04 '24 12:08 github-actions[bot]