Skip to content

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