thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (Jira)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-4934) Add transient field support
Date Tue, 20 Aug 2019 16:55:00 GMT

    [ https://issues.apache.org/jira/browse/THRIFT-4934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911556#comment-16911556
] 

Jens Geyer commented on THRIFT-4934:
------------------------------------

My opinion also tends towards no. 

NB: In C# we render structures as partial classes which helps a great deal with such use cases.
Unfortunately this is not an option for every language (Yes, Embarcadero, I am looking specifically
at you).

> Add transient field support
> ---------------------------
>
>                 Key: THRIFT-4934
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4934
>             Project: Thrift
>          Issue Type: New Feature
>            Reporter: Christian Spriegel
>            Priority: Minor
>
> It would be great if transient fields could be defined in the schema, which are not serialized
but can be used in the application.
> An example use case for this feature would be a calculated value that is calculated while
loading from the database.
> I am unsure whether these fields would need metadata or if they are simply added as fields+getters&setters. 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message