-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update deprecation note for operation_name #8207
Conversation
Signed-off-by: Kuat Yessenov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we trigger the deprecation warning? Is that possible? I know people rely on the warning way more reliably than reading the release notes.
We can't detect the default enum value once the config is converted to proto. So that means we might need to perform a pass at the JSON/YAML level (or hack into jsonpb). I don't know how easy it is in C++. Perhaps, API folks have seen this issue before. |
Can't we just look at the enum value directly and just call into the deprecation warning/stat code? cc @alyssawilk |
I think the current deprecated code looks at deprecated fields, not deprecated values. |
OK let's merge this and track the improvement in the follow up issue. |
Handling deprecated and deprecated-default enum values as part of our config checking. Risk Level: Medium Testing: new unit tests Docs Changes: updated runtime docs Release Notes: reverted #8207 Fixes #8253 Signed-off-by: Alyssa Wilk <[email protected]>
Signed-off-by: Kuat Yessenov <[email protected]>
Signed-off-by: Kuat Yessenov <[email protected]>
Handling deprecated and deprecated-default enum values as part of our config checking. Risk Level: Medium Testing: new unit tests Docs Changes: updated runtime docs Release Notes: reverted envoyproxy#8207 Fixes envoyproxy#8253 Signed-off-by: Alyssa Wilk <[email protected]>
Signed-off-by: Kuat Yessenov <[email protected]>
Signed-off-by: Kuat Yessenov [email protected]
Description: Minor clarification explaining why
operation_name: INGRESS
is not triggering the deprecation warnings.Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]