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

Replace serde/jsonschema derives with cosmwasm_schema::cw_serde #910

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Buckram123
Copy link

This PR aims to reduce derive boilerplate with cw_serde macro. Originally I was missing Debug derive for cw20 base MigrateMsg and noticed that in this repo sometimes cw_serde macro used, sometimes derive(Serialize, Deserialze...)

Comment on lines +33 to +34
#[cw_serde]
#[derive(Copy, Eq)]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cw_serde have rename_all = "snake_case". It shouldn't have any difference from lowercase for those variants

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

Successfully merging this pull request may close these issues.

1 participant