Scrooge 18.2.0
-
scrooge-generator: Add
asClosable
method toServicePerEndpoint
and
ReqRepServicePerEndpoint
interfaces as well. 597864ac -
scrooge-generator: Remove unused
functionToService
andserviceToFunction
methods along withServiceType
andReqRepServiceType
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 FinagleService
. 2d25eb25 -
scrooge-generator: Scala generated client now has a asClosable method returns c.t.u.Closable,
client now can be closed by callingclient.asClosable.close
. Note thatasClosable
won't be
generated if it is also defined by the user. 1fa4f0c6 -
scrooge-generator: Renamed subclasses of
com.twitter.scrooge.RichResponse
:
ProtocolExceptionResponse
,SuccessfulResponse
, andThriftExceptionResponse
.
These case classes are for representing different response types and should be only
used by the generated code. 2194e77d