thrift-dev mailing list archives

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


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:
>             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

View raw message