Commit History

Autor SHA1 Mensaxe Data
  Daniel Alm 5ea856389f Make the plugin's tests also generate test stubs, so we can ensure that those compile as well, and fix compilation of those stubs. %!s(int64=8) %!d(string=hai) anos
  Daniel Alm a51d6e22e8 Merge branch 'master' of github.com:grpc/grpc-swift into optional-completion-blocks %!s(int64=8) %!d(string=hai) anos
  Tim Burks 476860a007 Fix code generator and samples for latest gRPC API. %!s(int64=8) %!d(string=hai) anos
  Daniel Alm 308287ea94 Rename the "generate_mock_code" codegen option to "TestStubs" and rename the stub classes to `...TestStub` as well. %!s(int64=8) %!d(string=hai) anos
  Daniel Alm d76b9e9f7e Make most completion blocks optional, so that clients don't need to pass them. %!s(int64=8) %!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=8) %!d(string=hai) anos
  takasek 1ac7954952 add final attributes to classes %!s(int64=8) %!d(string=hai) anos
  Tim Burks 6e53474c85 Rework plugin to use the DescriptorSet model from SwiftProtobufPluginLibrary. %!s(int64=8) %!d(string=hai) anos
  Tim Burks a26794eaf0 Add completion callback to nonblocking send() in server generated code. %!s(int64=8) %!d(string=hai) anos
  Tim Burks f3926c5c6a Change access level for generated classes and methods from "public" to "internal". %!s(int64=8) %!d(string=hai) anos
  Tim Burks bcf716c361 Update plugin for Swift 3.1 code generation %!s(int64=8) %!d(string=hai) anos
  Tim Burks 965fa0c02f Lower-case the names of functions in code generated by the plugin. %!s(int64=9) %!d(string=hai) anos
  Tim Burks 38b73fa52e Templates are now compiled directly into the protoc-gen-swiftgrpc plugin. %!s(int64=9) %!d(string=hai) anos