Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4453

Go generator flag to turn off Context parameter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 0.11.0
    • Fix Version/s: None
    • Component/s: Go - Compiler
    • Labels:
      None

      Description

      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`

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              renan Renan DelValle
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: