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

Renan DelValle closed THRIFT-4453.
----------------------------------
    Resolution: Won't Fix

This was created several months ago. I'm glad someone finally replied to it. 
For what it's worth, I don't believe it to be a minor few minutes change 
because this has to be done on top of other breaking changes for 0.11.0 go code 
generation.

I'm still not very certain of the value adding context to the RPC functions has 
had since it was added a long time ago and as far as I can tell it's not used 
at all and can't seem to find any real examples of the benefits.

Either way, I'm no longer in need of the functionality so I'm closing this.

> Go generator flag to turn off Context parameter
> -----------------------------------------------
>
>                 Key: THRIFT-4453
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4453
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Go - Compiler
>    Affects Versions: 0.11.0
>            Reporter: Renan DelValle
>            Priority: Minor
>
> It would be worthwhile to be able to pass a argument to the code generator 
> for Go that allows to disable the addition of the Context parameter to each 
> function signature that was included with the 0.11.0 release. This is to 
> avoid backwards incompatible code generation in cases where developers don't 
> require context.
> This flag could be as simple as `-disable-context`



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to