protobuf.js version: 6.8.0
UPDATED:
Current codegen for map-fields when string key is empty is incorrect.
ORIGINAL:
Current codegen for map-fields is invalid. It assumes that map keys are non empty (!) strings (!!).
- Map CAN have empty string as indices.
Map CAN be indexed by something different than string...
Both parsing and JS representation (Object instead of Map) are broken.
protobuf.js version: 6.8.0
UPDATED:
Current codegen for map-fields when string key is empty is incorrect.
ORIGINAL:
Current codegen for map-fields is invalid. It assumes that map keys are non empty (!) strings (!!).
Map CAN be indexed by something different than string...Both parsing and JS representation (Object instead of Map) are broken.