You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, bazel-bin/external/envoy_api/envoy/admin/v2alpha/pkg/envoy/admin/v2alpha/tap.proto.types.pb_text contains much more than what in envoy/admin/v2alpha/tap.proto:
This is definitely a bug, will have to look into this more tomorrow, but the root cause is the weirdness around how aspects traverse dependencies I think; we end up with each file being visited multiple times.
Create visitor.Visitor per proto file to get correct information from TypeWhisperer.
This will make it easier to track imports in protoxform as well.
Risk Level: Low
Testing: CI
Fixes#9266
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
For example,
bazel-bin/external/envoy_api/envoy/admin/v2alpha/pkg/envoy/admin/v2alpha/tap.proto.types.pb_text
contains much more than what in envoy/admin/v2alpha/tap.proto:which should only include:
This seems because api_proto_plugin's visitor.Visitor should be stateless while TypeWhisperer is stateful and keeps types in self._types.
@htuch
The text was updated successfully, but these errors were encountered: