fix: Backport consistency and correctness fixes (7.x)#2294
Conversation
|
Hi @dcodeIO , I think backporting #2287 is incorrect as failing for This causes errors for us in nestjs where the null value cannot be converted into I feel like returning |
|
Did a quick check, and you are right that this used to work for fieldless messages. That behavior was accidental, though: If needed, a narrow compatibility fix here could be to allow |
|
For my use case it doesn't really matter what is return, just as long as it does not throw an error. It may be that @grpc/proto-loader should handle the null case better. We ran into this problem because of our nestjs implementation where we implement function which return |
Backports #2287, #2293 and #2275 to 7.x.