jhump / protoreflect

Reflection (Rich Descriptors) for Go Protocol Buffers
Apache License 2.0
1.33k stars 170 forks source link

Fix issue with imports in desc/builder #592

Closed jhump closed 7 months ago

jhump commented 7 months ago

When adding extensions to the type resolver that the builder used, the logic was adding too many. For a given import, it was incorrectly adding all extensions visible to that imported file, instead of just the extensions made visible to the importing file.

Fixes #589