Skip to content

Commit

Permalink
⭐add optional flag ignoreErrors to First Valid transform
Browse files Browse the repository at this point in the history
  • Loading branch information
yannick-beot-sp committed Apr 12, 2024
1 parent 39a3ab8 commit 81f8f86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snippets/transforms.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@
"tr-first"
],
"body": [
"{\n \"type\": \"firstValid\",\n \"attributes\": {\n \"values\": [\n $1\n ]\n }\n}"
"{\n \"type\": \"firstValid\",\n \"attributes\": {\n \"values\": [\n $1\n ]\n },\n \"ignoreErrors\": false\n}"
],
"newtemplate": "{\n \"type\": \"firstValid\",\n \"attributes\": {\n \"values\": [\n \n ]\n },\n \"name\": \"{TRANSFORM_NAME}\"\n}",
"newtemplate": "{\n \"type\": \"firstValid\",\n \"attributes\": {\n \"values\": [\n \n ]\n },\n \"ignoreErrors\": false,\n \"name\": \"{TRANSFORM_NAME}\"\n}",
"description": "The first valid transform is useful for quickly doing an if/then/else operation on several different data points to return the first piece of data that is not null."
},
"Generate Random String": {
Expand Down

0 comments on commit 81f8f86

Please sign in to comment.