You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2020/05/28 19:40:00 UTC

[jira] [Resolved] (THRIFT-5220) DeepCopy() extension methods not generated when the IDL contains no service

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

Jens Geyer resolved THRIFT-5220.
--------------------------------
    Resolution: Fixed

> DeepCopy() extension methods not generated when the IDL contains no service
> ---------------------------------------------------------------------------
>
>                 Key: THRIFT-5220
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5220
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: netstd - Compiler
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Major
>             Fix For: 0.14.0
>
>         Attachments: 0001-THRIFT-5220-DeepCopy-extension-methods-not-generated.patch
>
>
> Despite having a huge test case, for the following IDL the *.Extensions.cs is not generated at all, leading to a compiler error due to the missing implementations at {{Three}}.
> {code}
> struct Foo  {
>  1 : required string One
>  2 : required string Two
>  3 : optional list<string> Three
>  4 : optional bool Four
>  5 : optional string Five
> }
>  {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)