You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @aabrams , honestly I'm not a NestJS expert or user, but can just point you to this line in the ts-proto source code:
// Return observable since nestjs client always returns an Observable
const returns = responseObservable(ctx, methodDesc);
That is from awhile ago, so if the situation has changed (or maybe was never true 🤷 ), and you're willing to submit a PR to fix it, that'd be great! Thanks!
stephenh
changed the title
--ts_proto_opt=nestJs=true forces Observable use
NestJS without Observables
Mar 30, 2024
I'm using version 1.170 with nestJs=true
I'm seeing gRPC services with Observable, no matter how I configure returnObservable.
I think the correct behavior is to return observable only for stream responses, is there a way to configure it so?
Thanks!
The text was updated successfully, but these errors were encountered: