Array as value of bundle argument #1261
Unanswered
kiriencoder
asked this question in
Q&A
Replies: 1 comment
-
seems like bundle dont allow array as argument value |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can I use an array of IDs as argument value in a bundle?
For example, I'm creating bundle to delete list of projects:
"bundles": [
{
"name": "projects-delete"
"arguments": [
"projectID",
"ownerIDs",
],
"operations": [
{
"relationships_delete": [
"project:{{.projectID}}#owner@user:{{.ownerIDs}}",
],
},
],
},
],
and when I send list of ownerIDs ['1','2','3','4'], the bundle will delete next relations:
project:1:owner#user@1
project:1:owner#user@2
project:1:owner#user@3
project:1:owner#user@4
Beta Was this translation helpful? Give feedback.
All reactions