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

Derive From for structs using field defaults #7

Open
dr-orlovsky opened this issue Dec 8, 2022 · 0 comments
Open

Derive From for structs using field defaults #7

dr-orlovsky opened this issue Dec 8, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@dr-orlovsky
Copy link
Member

In structs From derive relies on Default implemented for the whole structure. Use field-level defaults instead.

@dr-orlovsky dr-orlovsky added the bug Something isn't working label Dec 8, 2022
@dr-orlovsky dr-orlovsky transferred this issue from rust-amplify/rust-amplify Feb 5, 2023
@dr-orlovsky dr-orlovsky added this to the 4.x milestone Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🎯 ToDo
Development

No branches or pull requests

1 participant