[ 
https://issues.apache.org/jira/browse/THRIFT-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer updated THRIFT-1623:
-------------------------------
    Component/s: netstd - Compiler
                     (was: C# - Compiler)

> 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: netstd - Compiler
>    Affects Versions: 0.8
>            Reporter: ptgreg
>            Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to