Commit History

Autor SHA1 Mensaxe Data
  Daniel Alm 308287ea94 Rename the "generate_mock_code" codegen option to "TestStubs" and rename the stub classes to `...TestStub` as well. %!s(int64=7) %!d(string=hai) anos
  Daniel Alm 2e00c363cc Extract the interface of generated code for the `...Call`, `...Session` and `...Service` classes into protocols and make the implementing classes conform to those protocols. This lets us create custom implementations of those protocols, e.g. mocks/stubs/fakes/spies for testing purposes. In particular, this commit also includes an option to have simple fake implementations generated for the above protocols in addition to the "real" implementations (see #120 for a detailed discussion). %!s(int64=7) %!d(string=hai) anos
  vincentmarguerie 2c38f27a61 make template Session inheritable %!s(int64=7) %!d(string=hai) anos
  takasek 1ac7954952 add final attributes to classes %!s(int64=8) %!d(string=hai) anos
  Tim Burks 55077aca5c Improve StatusCode usage and handling of unknown messages in generated servers. %!s(int64=8) %!d(string=hai) anos
  Tim Burks 9ce9d6914e Rename generated files to "<FILE>.rpc.swift". %!s(int64=8) %!d(string=hai) anos