thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Narendra Babu <narendra....@gmail.com>
Subject optional keyword is ignored in argument lists.
Date Thu, 25 Sep 2014 05:02:58 GMT
Hi,

Is optional keyword for method call is supported at all? The thrift
compiler is throwing below warning when optional is used for some of the
arguments of the method call.

WARNING:] optional keyword is ignored in argument lists.

Thrift version 0.9.1

Example

  i32 SampleTestMethod(

    1: optional string  desc,          <========== throws warning for this
optional
    2: i32 index,
    3: string name,
)

Thanks,
Narendra.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message