-
Notifications
You must be signed in to change notification settings - Fork 52
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
Handle deprecated fields #76
Comments
That should be easy. We need to add Why is there an Then we need to add the same deprecation note of the field Do we want to throw a compilation error if the default attribute is not set? @idanarye Can I give it a try for a PR? |
@mo8it Go for it. The |
If I have a deprecated field in my struct, the generated
TypedBuilder
has two unexpected behavior:#[allow(deprecated)]
on the struct doesn't help (because it's used in a separate, generated block?)Example:
The text was updated successfully, but these errors were encountered: