Browse Source

Add public init to client call unary stubs. (#401)

Martin Petrov 6 years ago
parent
commit
dc2e8bbcee
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Sources/SwiftGRPC/Runtime/ClientCallUnary.swift

+ 2 - 0
Sources/SwiftGRPC/Runtime/ClientCallUnary.swift

@@ -61,5 +61,7 @@ open class ClientCallUnaryBase<InputType: Message, OutputType: Message>: ClientC
 open class ClientCallUnaryTestStub: ClientCallUnary {
   open class var method: String { fatalError("needs to be overridden") }
 
+  public init() {}
+
   open func cancel() {}
 }