Skip to content
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

Clarify that Setter sets values only. #976

Merged
Merged
6 changes: 3 additions & 3 deletions specification/context/api-propagators.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ the base [Inject](#inject) operation.

Optional arguments:
Oberon00 marked this conversation as resolved.
Show resolved Hide resolved

- A `Setter` invoked for each propagation key to add or remove. This is an additional
argument that languages are free to define to help inject data into the carrier.
- A `Setter` to set a propagation key/value pair. It might be invoked multiple times in order to set multiple pairs.
carlosalberto marked this conversation as resolved.
Show resolved Hide resolved
This is an additional argument that languages are free to define to help inject data into the carrier.
Oberon00 marked this conversation as resolved.
Show resolved Hide resolved

#### Setter argument
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I am confused by this spec: Does this heading describe the arguments to the setter? Should this be heading be replaced by the sentence: "Inject should have the following parameters:"?


Expand Down Expand Up @@ -263,7 +263,7 @@ Required arguments:

- A `Context`.
- The carrier that holds propagation fields.
- The `Setter` invoked for each propagation key to add or remove.
- The `Setter` to set a propagation key/value pair. It might be invoked multiple times in order to set multiple pairs.
carlosalberto marked this conversation as resolved.
Show resolved Hide resolved

## Global Propagators

Expand Down