Skip to content
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

Use snake_case not lowercase for serde Serialization #201

Closed
ethanfrey opened this issue Mar 27, 2020 · 0 comments · Fixed by #210
Closed

Use snake_case not lowercase for serde Serialization #201

ethanfrey opened this issue Mar 27, 2020 · 0 comments · Fixed by #210
Assignees
Milestone

Comments

@ethanfrey
Copy link
Member

We get some poor JSON messages now for enums, like ChangeOwner => changeowner. Let's use #[serde(rename_all = "snake_case")] instead, so we get change_owner. This is mainly for the contracts, but let's do it everywhere for consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant