You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ptgreg (JIRA)" <ji...@apache.org> on 2012/06/07 12:44:22 UTC

[jira] [Created] (THRIFT-1623) Make Isset variable private/protected instead of public in csharp compiler

ptgreg created THRIFT-1623:
------------------------------

             Summary: Make Isset variable private/protected instead of public in csharp compiler
                 Key: THRIFT-1623
                 URL: https://issues.apache.org/jira/browse/THRIFT-1623
             Project: Thrift
          Issue Type: Improvement
          Components: C# - Compiler
    Affects Versions: 0.8
            Reporter: ptgreg


I don't see why it is needed that __isset variable needs to be public.

It would be a lot better to make it private or even protected.

Like this, when we serialize the thrift object, the __isset won't be serialized with it.
I need to serialize it in order to insert it into Mongo.

By changing this, Thrift object becomes plain Entity object with just the properties that we need.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira