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
Motivation:
MethodConfig uses a particular string based format for durations based
on the "google.protobuf.duration" message. On some decoding paths a
string was read and then decoded into a `Swift.Duration` rather than
decoding the `GoogleProtobufDuration` message directly.
The string-to-Swift.Duration path had a bug meaning fractional seconds
were incorrectly decoded.
Modifications:
- Add a test
- Remove the string to `Swift.Duration` path and always decode via
`GoogleProtobufDuration` which has a correct implementation.
Result:
Fewer bugs
0 commit comments