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

[WIP] (optional) Strict required field check on message deserialization #106

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cleaton
Copy link

@cleaton cleaton commented Mar 2, 2015

Currently there is no check to make sure that all required fields have values when deserializing a message.
This PR adds the option to enable strict required field.

Strict means that there will be an error if a required field is missing from the byte stream.

I've also created an issue for this to be discussed #105

  • Simple POC
  • Example test
  • Make it optional
  • Decide on actual implementation (only a counter? Or more detailed per field error?)
  • Measure performance impact?

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

Successfully merging this pull request may close these issues.

1 participant