Skip to content

[doc issue] Expected mapping example targets only first element sourcePath":"$.members[0].value" #57

@GunomeMidare

Description

@GunomeMidare

Issue description

Should the expected mapping code syntax not be:
{
"sourcePath": "$.members[*].value",
"preserveArrayWithSingleElement": true,
"optional": true,
"targetPath": "$.members[?(@.value)]",
"functions": [
{
"function": "resolveEntityIds"
}
]
},

The "sourcePath": "$.members[0].value" targets only value of the first element in the members array....

Feedback Type (Optional)

incorrect statement

Page Title on SAP Help Portal (prefilled)

Configure Single and Multiple Origins

Page URL on SAP Help Portal (prefilled)

https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/target-configure-single-and-multiple-origins?locale=en-US

Metadata

Metadata

Labels

contributionValuable Contributionin-discussionThis item is being discussed internallysize/sRequires minimal effort to get changed.type/examples-samplesRelated to existing examples/samples, or request for new examples/samples.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions