-
Notifications
You must be signed in to change notification settings - Fork 63
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
Custom Default trait on user-defined IDL structs #6
Comments
Not sure if notifications go through so will try pinging @macalinao |
This specific case is fixed. We should probably add a way to explicitly specify that a Default should not be generated for a type though |
Great thanks! One last clarification though: I don't get the use case for the separation between
|
Backwards compatibility. Maybe we should mark the other one as deprecated |
Is there a way to handle custom Default trait definition for some of the Defined structs, e.g.:
atm the explicit sizes (0-32) in the standard implementation prevents generation:
the trait 'Default' is not implemented for '[u128; 256]'
The text was updated successfully, but these errors were encountered: