Closed msk closed 1 month ago
The pull request includes several significant updates to the project. Key changes involve the sealing of the FromKeyValue
trait, modifications to the TrustedDomain
type, and the introduction of the review-migrate
tool for database migrations. Additionally, the UniqueKey
trait has been refactored, and two methods, Database::cluster_id
and Database::get_top_clusters_by_score
, have been removed. A fix has also been made to ensure proper insertion of statistical values in the description_int
table. Changes to visibility and exports of certain structs and methods have also been implemented.
File | Change Summary |
---|---|
CHANGELOG.md | Updated to reflect changes: sealing of FromKeyValue , TrustedDomain type modifications, and introduction of review-migrate . |
src/tables.rs | New public export for Inner as InnerNode , modified visibility of Inner , and updated update method to private. |
src/types.rs | Introduced sealed trait pattern for FromKeyValue , added Sealed trait in private module, and updated trait signature. |
get_top_clusters_by_score
method, directly connected to changes in this PR.review-migrate
tool and the refactoring of the UniqueKey
trait, both highlighted in this PR.TrustedDomain
type no longer implementing the serde::Serialize
and serde::Deserialize
traits.🐇 In the code where changes abound,
A rabbit hops with joy profound.
From traits sealed to tools anew,
Our project grows, with leaps and view.
With every fix and method's grace,
We build a better, brighter space! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 67.68%. Comparing base (
d6009ae
) to head (76a307b
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
FromKeyValue
should be implemented for the types in this crate only.Summary by CodeRabbit
review-migrate
tool for enhanced database migration management.description_int
table.FromKeyValue
trait to restrict its implementation.Inner
struct and adjusted theupdate
method's accessibility.