envoyproxy/envoy
在 GitHub 查看tools/api: add support for 1) deprecating message types and 2) moving nested message types up
Open
#10,740 建立於 2020年4月10日
api/v3help wanted
倉庫指標
- Star
- (27,997 star)
- PR 合併指標
- (平均合併 8天) (30 天內合併 378 個 PR)
描述
Title: add support for 1) deprecating message types and 2) moving nested message types up
Description:
- at the moment, there are already a few message types that have been deprecated, e.g.
bootstrap.v2.Runtimetools/apialready support removing it from the next API version by addingoption deprecated = true;
trace.v3.Tracing- if
option deprecated = true;is added,tools/apiwill remove the message along with its nested types, which is not desired (see next point)
- if
- additionally, there is a case where a nested message type needs to be moved up, e.g.
trace.v3.Tracing.Http=>trace.v4.HttpTracer- and, probably, even
trace.v3.Tracing.Http=>trace.v3.HttpTracer
Context:
- #10405