Yuxuan Wang created THRIFT-5583:
-----------------------------------

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


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)

Reply via email to