RE: Is the Thrift serialization compatible both directions?

2018-01-26 Thread Jean Rodier

Re: Is the Thrift serialization compatible both directions?

2018-01-19 Thread Jean Rodier
to have that feature? Original message From: Randy Abernethy <r...@apache.org> Date: 2018-01-18 9:18 PM (GMT-05:00) To: dev@thrift.apache.org Cc: u...@thrift.apache.org Subject: Re: Is the Thrift serialization compatible both directions? Taking this apart: - Any new fields th

Re: Is the Thrift serialization compatible both directions?

2018-01-18 Thread Randy Abernethy
Taking this apart: - Any new fields that you add should be optional. I disagree, default requiredness with a default value works fine as well (and is my preference if you are not interested in optimizing the field away in procs that know about it). On the server side,if the default field is there