Closed Tim-Zhang closed 1 year ago
Patch coverage has no change and project coverage change: -0.07%
:warning:
Comparison is base (
3ef0e4e
) 24.42% compared to head (e16aa7b
) 24.35%. Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
would it be worth adding a message to the example that validates this? Sounds like it is pretty easy to replicate by passing 0's here https://github.com/containerd/ttrpc-rust/blob/555c412130e06d9c5632927e7bb7a1a4ed1ca774/example/async-stream-client.rs#L124-L125?
@jsturtevant Good suggestion, I've just finished it and please help to review it again, thanks
Protobuf encodes default values, e.g., 0 for number, "" for string, as empty payload and we wouldn't send empty payload to a receiver.
This commit change the method of empty message detecting.
Fixes #169 Fixes #207