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

When loading a message from input, initially set all fields to their default values #27

Open
modersohn opened this issue Feb 26, 2019 · 0 comments
Labels
bug Something isn't working generator issues applying to the code generator Input/Output

Comments

@modersohn
Copy link
Owner

Currently the generated code for setting default values is in the constructor (mixed with construction of class instances for lists and submessages).

However, when loading a message from input, all fields should be set to their default value as well. This is normally not an issue if a fresh message class instance has been created, but that might not be the case under all circumstances.

@modersohn modersohn added bug Something isn't working generator issues applying to the code generator Input/Output labels Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working generator issues applying to the code generator Input/Output
Projects
None yet
Development

No branches or pull requests

1 participant