Skip to content

Commit dc2e8bb

Browse files
mpetrovMrMage
authored andcommitted
Add public init to client call unary stubs. (#401)
1 parent f7807da commit dc2e8bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/SwiftGRPC/Runtime/ClientCallUnary.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,7 @@ open class ClientCallUnaryBase<InputType: Message, OutputType: Message>: ClientC
6161
open class ClientCallUnaryTestStub: ClientCallUnary {
6262
open class var method: String { fatalError("needs to be overridden") }
6363

64+
public init() {}
65+
6466
open func cancel() {}
6567
}

0 commit comments

Comments
 (0)