Correct me if I'm wrong, but when you specify a field of a struct is "required", that means if you attempt to deserialize a record and it doesn't contain the required field, it should throw an exception. If this is the behavior, then shouldn't we also throw an exception when serializing and the field is not present?

Also, I can't seem to see where in the Java implementation the "required" reading behavior is implemented. Am I missing something obvious, or is it just not implemented in Java?

-Bryan

Reply via email to