2
0

unimplemented_call.patch 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. diff --git a/Sources/GRPCInteroperabilityTestModels/Generated/test.grpc.swift b/Sources/GRPCInteroperabilityTestModels/Generated/test.grpc.swift
  2. index 6a5f3099..ae0ba123 100644
  3. --- a/Sources/GRPCInteroperabilityTestModels/Generated/test.grpc.swift
  4. +++ b/Sources/GRPCInteroperabilityTestModels/Generated/test.grpc.swift
  5. @@ -485,10 +485,6 @@ public protocol Grpc_Testing_TestServiceProvider: CallHandlerProvider {
  6. /// stream of responses are returned to the client when the server starts with
  7. /// first request.
  8. func halfDuplexCall(context: StreamingResponseCallContext<Grpc_Testing_StreamingOutputCallResponse>) -> EventLoopFuture<(StreamEvent<Grpc_Testing_StreamingOutputCallRequest>) -> Void>
  9. -
  10. - /// The test server will not implement this method. It will be used
  11. - /// to test the behavior when clients call unimplemented methods.
  12. - func unimplementedCall(request: Grpc_Testing_Empty, context: StatusOnlyCallContext) -> EventLoopFuture<Grpc_Testing_Empty>
  13. }
  14. extension Grpc_Testing_TestServiceProvider {
  15. @@ -565,16 +561,6 @@ extension Grpc_Testing_TestServiceProvider {
  16. self.halfDuplexCall(context: context)
  17. }
  18. - case "UnimplementedCall":
  19. - return CallHandlerFactory.makeUnary(
  20. - callHandlerContext: callHandlerContext,
  21. - interceptors: self.interceptors?.makeUnimplementedCallInterceptors() ?? []
  22. - ) { context in
  23. - return { request in
  24. - self.unimplementedCall(request: request, context: context)
  25. - }
  26. - }
  27. -
  28. default:
  29. return nil
  30. }