-
-
Notifications
You must be signed in to change notification settings - Fork 493
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
serde rename_all not working correctly on ActiveModel #2257
Comments
Not only with |
Seems to be fixed for the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
#[serde(rename_all = "camelCase")]
on a Model derived withDeriveEntityModel
is not working correctly on theActiveModel
Steps to Reproduce
Expected Behavior
Getting an ActiveModel that looks like
Actual Behavior
A model with fields affected by
rename_all
unset:Reproduces How Often
always
Workarounds
If this is intended, Model::deserialize, then converting to a ActiveModel works:
Reproducible Example
See steps to reproduce
Versions
Windows 10, SeaORM
0.12.15
The text was updated successfully, but these errors were encountered: