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

Allow deserializing from newtype structs too #672

Merged
merged 4 commits into from Sep 2, 2022
Merged

Conversation

jsdw
Copy link
Contributor

@jsdw jsdw commented Sep 1, 2022

Since H256 et al are newtype wrappers around bytes, I geuss it makes sense to support deserializing from such newtype wrappers of compatible things, too :)

primitive-types/impls/serde/CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Andronik <write@reusable.software>
@ordian
Copy link
Member

ordian commented Sep 2, 2022

Let's go! How doesn't like releases on Fridays? ;)

@ordian ordian merged commit aeca7d6 into master Sep 2, 2022
@ordian ordian deleted the jsdw-newtype-deser branch September 2, 2022 18:52
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.

None yet

2 participants