The freightMetadata function currently supports a deprecated two-argument form that needs to be removed in v1.10 as per the deprecation notice.
Current Usage
// Two-form argument (deprecated)
freightMetadata(freightName, 'key-name')
New Usage
// Single-form argument with map access
freightMetadata(freightName)['key-name']
Tasks
Additional Context
The two-argument form has been deprecated since v1.8.0. Users have been encouraged to use the single-argument form with map access syntax instead.
Related Links
The
freightMetadatafunction currently supports a deprecated two-argument form that needs to be removed inv1.10as per the deprecation notice.Current Usage
New Usage
Tasks
freightMetadatafunction in functions.goAdditional Context
The two-argument form has been deprecated since v1.8.0. Users have been encouraged to use the single-argument form with map access syntax instead.
Related Links