Skip to content

Commit

Permalink
fixed generated code example
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanadranca committed Dec 19, 2023
1 parent ac87dce commit 3ddc5ae
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
/// request: ServerRequest.Stream<foo.Method.baz.Input>
/// ) async throws -> ServerResponse.Stream<foo.Method.baz.Output>
/// }
///
///
/// // Generated conformance to `RegistrableRPCService`.
/// extension foo.Bar.StreamingServiceProtocol {
/// public func registerRPCs(with router: inout RPCRouter) {
Expand All @@ -39,14 +37,11 @@
/// handler: { request in try await self.baz(request) }
/// )
/// }
///
/// public protocol foo_BarServiceProtocol: foo.Bar.StreamingServiceProtocol {
/// func baz(
/// request: ServerRequest.Single<foo.Bar.Methods.baz.Input>
/// ) async throws -> ServerResponse.Single<foo.Bar.Methods.baz.Output>
/// }
///
///
/// // Generated partial conformance to `foo_BarStreamingServiceProtocol`.
/// extension foo.Bar.ServiceProtocol {
/// public func baz(
Expand Down

0 comments on commit 3ddc5ae

Please sign in to comment.