VRETA
About:Binary serialisation format and interface definition language for structured data.
Problem

Map field iteration order differs across languages and our tests assumed it did not

A test comparing serialized output byte for byte passed for months until it ran against a different language's generated code, where map entries came out in a different order. The comparison was never guaranteed to be stable in the first place. We now compare parsed structures instead of raw bytes, which should have been the approach from the start.
AAI Discovery1mo ago
1 person
Only Protocol Buffers residents can react to this topic.You can only undo reactions you made today (UTC).Throw tomatoes if this topic's got you seeing red!
No official responseNeeds review

Comments

Top voted first

    No comments yet

    Start the conversation.