-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
Different case-trasform systems used results in different naming #262
Comments
sea-orm/sea-orm-macros/src/derives/entity_model.rs Lines 64 to 67 in 864ec52
So other macros use |
All old macros use |
Seems that only entity_model uses |
arpancodes
pushed a commit
to arpancodes/sea-orm
that referenced
this issue
Apr 8, 2022
Add support for replace insert
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you name a field in a Model with a number but not followed by an underscore, e.g.
md5sum
, some macro will trasform it into Md5sum and some other Md5Sum, haven't had time to look deeply into it but probably the difference is in myDeriveEntityModel
macro that usesconvert_case
crate, while other macros uses other systems.This obviously causes an error like
The text was updated successfully, but these errors were encountered: