-
Notifications
You must be signed in to change notification settings - Fork 5.5k
api: add attention to HeaderValueOption.append to avoid removing this field #23518
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
Merged
mattklein123
merged 7 commits into
envoyproxy:main
from
wbpcode:dev-add-comments-to-dreprecated-append
Oct 18, 2022
Merged
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
887fd0e
api: add attention to HeaderValueOption.append to avoid removing this…
05b9d19
Update api/envoy/config/core/v3/base.proto
cd56fbd
Update api/envoy/config/core/v3/base.proto
822bb3d
minor comments update
7549d3a
fix link in the comments
eb0246f
Update api/envoy/config/core/v3/base.proto
c977fdc
minor update
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -358,6 +358,16 @@ message HeaderValueOption { | |
| // existing values. Otherwise it replaces any existing values. | ||
| // This field is deprecated and please use | ||
| // :ref:`append_action <envoy_v3_api_field_config.core.v3.HeaderValueOption.append_action>` as replacement. | ||
| // | ||
| // .. attention:: | ||
| // The :ref:`external authorization service <envoy_v3_api_msg_service.auth.v3.CheckResponse>` and | ||
| // :ref:`external processor service <envoy_v3_api_msg_service.ext_proc.v3.ProcessingResponse>` have | ||
| // error default value (``false``) for this field. | ||
| // And the default value of field | ||
| // :ref:`append_action <envoy_v3_api_field_config.core.v3.HeaderValueOption.append_action>` | ||
| // is always ``APPEND_IF_EXISTS_OR_ADD``. | ||
| // It means that the default behavior of ``HeaderValueOption`` in these two services will be changed after | ||
| // this field is removed in the future version of API. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Per other comments, it's not going to get removed, so let's remove this. It's still not clear to me what we are telling the end user. Are we just telling them that the default is false when used in these 2 services? If so can we just say that clearly? |
||
| google.protobuf.BoolValue append = 2 | ||
| [deprecated = true, (envoy.annotations.deprecated_at_minor_version) = "3.0"]; | ||
|
|
||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.