Skip to content

Reimplement DynamicMapField to use UntypedMapBase directly. #10772

Closed as not planned
@MurdoqZodoq

Description

Reimplement DynamicMapField to use UntypedMapBase directly.

It uses the same nodes that Map<> would use for the respectice types.
This makes the type compatible with visitation and removes some custom types
supporting DynamicMapField.

Remove most of the vtable, since this can now be done directly in MapFieldBase without derived type support.

Originally posted by @copybara-service in protocolbuffers/protobuf#20063

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions