Jens Geyer created THRIFT-1783:
----------------------------------

             Summary: C# doesn't handle required fields correctly
                 Key: THRIFT-1783
                 URL: https://issues.apache.org/jira/browse/THRIFT-1783
             Project: Thrift
          Issue Type: Bug
          Components: C# - Compiler
    Affects Versions: 0.9
            Reporter: Jens Geyer
             Fix For: 1.0


The following IDL 

{code}
{code}

generates this code:

{code}
{code}


which is unexpected, since the ID field is required and thus there's no need to 
maintrain the _isset flag for thuis fiel. Expected behaviour would be that
 * the field is always written to the output
 * it is ensured that the field is successfully read from the input (see C++ 
impl)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to