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

(optional) Strict required field check on message deserialization #105

Open
cleaton opened this issue Mar 2, 2015 · 0 comments
Open

(optional) Strict required field check on message deserialization #105

cleaton opened this issue Mar 2, 2015 · 0 comments

Comments

@cleaton
Copy link

cleaton commented Mar 2, 2015

Currently scalabuff does not make sure that all required fields have data when deserializing a message.
The missing fields will instead get the default instance values, which could cause confusing situations.

Ex. having a typo in the field ID would not cause any parsing errors.

What about adding an option to enable strict required fields check on message deserialization?

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

No branches or pull requests

1 participant