`readonlyDefault` for map fields returns mutable map
Open
bug
- Dominant language
- Dart
- Stars
- 572
- Forks
- 196
- Avg merge
- 1h 59m
- Merged PRs (30d)
- 2
Description
https://github.com/google/protobuf.dart/blob/6a3e7f024a46b9353fd172abe2b80125244cae45/protobuf/lib/src/protobuf/field_info.dart#L160-L165
which for map fields calls https://github.com/google/protobuf.dart/blob/6a3e7f024a46b9353fd172abe2b80125244cae45/protobuf/lib/src/protobuf/field_info.dart#L282
which uses `PbMap`, instead of `PbMap.unmodifiable`.
Contributor guide
Assessment
This issue has not been assessed yet.