Skip to content

Scrooge 18.2.0

Compare
Choose a tag to compare
@finaglehelper finaglehelper released this 06 Feb 03:45
· 526 commits to develop since this release
  • scrooge-generator: Add asClosable method to ServicePerEndpoint and
    ReqRepServicePerEndpoint interfaces as well. 597864ac

  • scrooge-generator: Remove unused functionToService and serviceToFunction
    methods along with ServiceType and ReqRepServiceType type aliases in
    order to simplify code generation.

    NOTE: This functionality can be manually replicated by users if/when needed
    to convert between a Function1 and a Finagle Service. 2d25eb25

  • scrooge-generator: Scala generated client now has a asClosable method returns c.t.u.Closable,
    client now can be closed by calling client.asClosable.close. Note that asClosable won't be
    generated if it is also defined by the user. 1fa4f0c6

  • scrooge-generator: Renamed subclasses of com.twitter.scrooge.RichResponse:
    ProtocolExceptionResponse, SuccessfulResponse, and ThriftExceptionResponse.
    These case classes are for representing different response types and should be only
    used by the generated code. 2194e77d