Hi,
I wanted to ask, if there is a way that the presence of a required primitive
field is checked when using java. My schema looks like this:
namespace java azen.thrift.person
struct Person {
1: required i32 id,
2: required string name,
3: optional string email,
}
For the string name everything is fine and when it is not set an exception is
thrown.
Is this also possible for the integer id? Are there any workarounds?
I already tried using the option java:beans, but the result was the same.
--
regards
alex