Skip to content

Scrooge 18.8.0

Compare
Choose a tag to compare
@finaglehelper finaglehelper released this 07 Aug 00:27
· 475 commits to develop since this release

18.8.0

  • scrooge-core: Add interface for Scala generated Enum objects. c27d13ef

  • scrooge-core: Trait c.t.scrooge.ThriftService is now c.t.finagle.thrift.ThriftServiceMarker.
    Scrooge generated service objects now all inherit from c.t.finagle.thrift.ThriftService. Also,
    the AsClosableMethodName string was formerly part of c.t.finagle.thrift.ThriftService, but
    now is defined in the c.t.scrooge package object.
    125e955e

  • scrooge-generator: Thrift service objects now contain unsafeBuildFromMethods, which constructs
    a ReqRepServicePerEndpoint from a map of
    ThriftMethod -> ThriftMethod.ReqRepServicePerEndpointServiceType. It is unsafe because the
    types are not checked upon service construction, only when a request is attempted.
    125e955e