You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Yuxuan Wang (Jira)" <ji...@apache.org> on 2022/05/10 16:00:00 UTC

[jira] [Updated] (THRIFT-5583) Add a skip_remote arg to go compiler

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

Yuxuan Wang updated THRIFT-5583:
--------------------------------
    Fix Version/s: 0.17.0

> Add a skip_remote arg to go compiler
> ------------------------------------
>
>                 Key: THRIFT-5583
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5583
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Go - Compiler
>    Affects Versions: 0.16.0
>            Reporter: Yuxuan Wang
>            Assignee: Yuxuan Wang
>            Priority: Major
>             Fix For: 0.17.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently the go compiler will generate a -remote folder for each service defined in the thrift file, which constitutes the code to create a client binary (not library) for the service.
> This seems to be a go-only feature (at least I do not see it in py and java compilers), and for some users they don't really need this part of the code, and they need to do extra steps to remove the -remote folders (for example we do [this|https://github.com/reddit/baseplate.go/blob/80ef0711f695ca59d7f47d6be88e6067b35bcc23/README.md?plain=1#L30])
> So add this extra arg will help people not need it to avoid the extra step.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)