map: Clarified how destination values should be formatted (#5156)

This commit is contained in:
Scott Mebberson 2022-10-19 10:44:53 +10:30 committed by GitHub
parent a999b70727
commit 72e7edda1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ type Handler struct {
Source string `json:"source,omitempty"` Source string `json:"source,omitempty"`
// Destinations are the names of placeholders in which to store the outputs. // Destinations are the names of placeholders in which to store the outputs.
// Destination values should be wrapped in braces, for example, {my_placeholder}.
Destinations []string `json:"destinations,omitempty"` Destinations []string `json:"destinations,omitempty"`
// Mappings from source values (inputs) to destination values (outputs). // Mappings from source values (inputs) to destination values (outputs).