Commit 95653aa
committed
Use importer pool for DynamicMessageFactory
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.1 parent b407178 commit 95653aa
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
0 commit comments