Skip to content

Use importer pool for DynamicMessageFactory#167

Draft
HellAholic wants to merge 1 commit intomainfrom
CURA-13047
Draft

Use importer pool for DynamicMessageFactory#167
HellAholic wants to merge 1 commit intomainfrom
CURA-13047

Conversation

@HellAholic
Copy link
Contributor

Construct the DynamicMessageFactory with the importer's DescriptorPool (d->importer->pool()) instead of the default pool. This ensures dynamically created protobuf messages use the same descriptor pool as the importer, preventing descriptor resolution issues when registering message types.

Construct the DynamicMessageFactory with the importer's DescriptorPool (d->importer->pool()) instead of the default pool. This ensures dynamically created protobuf messages use the same descriptor pool as the importer, preventing descriptor resolution issues when registering message types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant