Daniel Alm
|
5cd64a7405
Rename many `Impl` classes to `Base` and extract a bit more common logic into a shared `ClientCall` protocol + `ClientCallBase` class (similar to `ServerSession`).
|
7 years ago |
Daniel Alm
|
929fea4097
Extract more common code into `ServiceServer` protocols and classes.
|
7 years ago |
Daniel Alm
|
489832fe10
Move the server-side generated code into runtime support classes as well.
|
7 years ago |
Tim Burks
|
476860a007
Fix code generator and samples for latest gRPC API.
|
7 years ago |
Daniel Alm
|
64e9d93de4
Two compilation/test fixes.
|
7 years ago |
Daniel Alm
|
308287ea94
Rename the "generate_mock_code" codegen option to "TestStubs" and rename the stub classes to `...TestStub` as well.
|
7 years ago |
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).
|
7 years ago |
vincentmarguerie
|
2c38f27a61
make template Session inheritable
|
7 years ago |
takasek
|
1ac7954952
add final attributes to classes
|
7 years ago |
Tim Burks
|
55077aca5c
Improve StatusCode usage and handling of unknown messages in generated servers.
|
7 years ago |
Tim Burks
|
9ce9d6914e
Rename generated files to "<FILE>.rpc.swift".
|
8 years ago |