Skip to content

Commit

Permalink
Fix generating wrong web-rpc implementation for wrapper-type method a…
Browse files Browse the repository at this point in the history
…rguments
  • Loading branch information
programmador committed Dec 18, 2023
1 parent 9b904c3 commit bcb9c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generate-grpc-web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function generateRpcMethod(ctx: Context, serviceDesc: ServiceDescriptorProto, me
assertInstanceOf(methodDesc, FormattedMethodDescriptor);
const { options } = ctx;
const { useAbortSignal } = options;
const requestMessage = rawRequestType(ctx, methodDesc);
const requestMessage = requestType(ctx, methodDesc, false);
const inputType = requestType(ctx, methodDesc, true);
const returns = responsePromiseOrObservable(ctx, methodDesc);

Expand Down

0 comments on commit bcb9c03

Please sign in to comment.