You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Dinesh Pathak <di...@gmail.com> on 2011/07/12 21:12:17 UTC

required fields in thrift file

Hi,
  Thrift allows to send objects even if some required marked fields are not
filled up. What is the use of marking fields as required and optional ?

Re: required fields in thrift file

Posted by Bryan Duxbury <br...@rapleaf.com>.
Required support was added to the IDL later on in the life of Thrift, and
consequently not all libraries support it properly. A patch to fix this
would be much appreciated.

On Tue, Jul 12, 2011 at 12:12 PM, Dinesh Pathak <di...@gmail.com>wrote:

> Hi,
>  Thrift allows to send objects even if some required marked fields are not
> filled up. What is the use of marking fields as required and optional ?
>