Replies: 2 comments
-
|
You've raise a good point. May be we don't need these functions anymore. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Done! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Multiple identical methods
sea-orm/src/entity/active_model.rs
Lines 52 to 59 in fe8a372
We have this
Setfunction which calls the static methodseton ActiveValue:sea-orm/src/entity/active_model.rs
Lines 778 to 780 in fe8a372
Why don't we just
pub use ActiveValue::Setlike above?sea-orm/src/entity/active_model.rs
Line 9 in fe8a372
Is there any special purpose for those different constructors? Why don't we just construct the enum directly?
Deprecated function
sea-orm/src/entity/active_model.rs
Lines 61 to 72 in fe8a372
This function has been deprecated for 4 years, I think it's time to remove it.
Beta Was this translation helpful? Give feedback.
All reactions