prost icon indicating copy to clipboard operation
prost copied to clipboard

Generating empty map when supplied a map with a single default value

Open kika opened this issue 3 years ago • 3 comments

Please have a look at https://github.com/google/protobuf.dart/issues/719 The message that makes Dart frontend explode is generated by prost and Google team thinks it could be a bug on the prost side too (the fact that Dart throws exception is a bug of itself). If this is a valid assumption and their read of protobuf spec is assumed correct here, I'll work on the repro case (and maybe PR, I'm far from being an expert in protobuf and even less so in Rust).

kika avatar Aug 04 '22 19:08 kika

Yeah, I would be happy to review a repro/PR. Thanks for opening this!

LucioFranco avatar Aug 09 '22 17:08 LucioFranco

Related: https://github.com/tokio-rs/prost/issues/99

ldm0 avatar Aug 14 '22 08:08 ldm0