Facundo Paredes and Facundo Paredes
eb5134da2d
feat(stepfunctions): add the JSONata functions of the Step Functions dialect ( #2676 )
...
Step Functions extends JSONata with $parse, $partition, $range, $hash,
$random and $uuid. None of them exist in the JSONata language, so an
expression calling one failed with "Attempted to invoke a non-function"
and the execution failed with States.QueryEvaluationError.
Bind the six on the evaluation frame next to $states and the workflow
variables. Behaviour follows AWS on the cases a naive reading gets wrong:
a non-integer argument rounds towards zero, several argument combinations
evaluate to undefined instead of failing, $range collapses a
single-element range to a bare number, $parse rejects the JSON AWS
rejects, and $random(seed) reproduces java.util.Random.
Verified with a 65-expression differential against real AWS Step
Functions: 65 match, 0 differ.
Co-authored-by: Facundo Paredes <25681464+facuparedes@users.noreply.github.com >
2026-08-28 15:31:53 -04:00
..
2026-07-06 21:02:04 -05:00
2026-07-03 00:01:54 -05:00
2026-08-27 16:59:59 -04:00
2026-08-17 14:22:17 -04:00
2026-08-07 17:27:36 -05:00
2026-08-28 09:59:42 -04:00
2026-07-06 21:02:04 -05:00
2026-06-18 23:42:31 -05:00
2026-05-10 11:53:31 -05:00
2026-06-14 19:45:15 -05:00
2026-05-15 22:55:11 -05:00
2026-08-24 17:32:28 -04:00
2026-08-05 17:17:02 -05:00
2026-05-14 20:29:37 -05:00
2026-08-23 21:04:30 -04:00
2026-08-26 14:05:23 -04:00
2026-08-20 22:21:51 -04:00
2026-08-17 00:00:49 -05:00
2026-06-07 10:44:37 -05:00
2026-07-21 12:10:19 -04:00
2026-08-27 10:50:05 -04:00
2026-05-10 11:53:31 -05:00
2026-05-10 11:53:31 -05:00
2026-06-21 09:01:44 -05:00
2026-08-24 14:43:49 -04:00
2026-08-28 11:58:39 -04:00
2026-08-26 13:44:31 -04:00
2026-05-15 22:55:11 -05:00
2026-08-28 14:22:23 -04:00
2026-05-10 11:53:31 -05:00
2026-08-28 11:35:06 -04:00
2026-07-06 21:36:14 -05:00
2026-08-23 16:19:01 -04:00
2026-08-25 19:48:38 -05:00
2026-08-10 09:04:40 -04:00
2026-06-25 19:16:51 -05:00
2026-08-27 16:53:33 -04:00
2026-08-09 15:34:30 -04:00
2026-08-20 00:08:21 -04:00
2026-07-06 21:02:04 -05:00
2026-08-18 09:30:25 -04:00
2026-08-27 16:48:12 -04:00
2026-08-21 00:09:04 -04:00
2026-07-10 17:45:51 -05:00
2026-08-17 00:40:12 -05:00
2026-08-28 08:55:50 -04:00
2026-08-28 11:58:39 -04:00
2026-08-07 17:33:01 -05:00
2026-08-21 16:15:25 -04:00
2026-08-09 15:01:30 -04:00
2026-08-15 12:54:39 -04:00
2026-08-26 10:29:31 -04:00
2026-08-10 23:10:48 -05:00
2026-08-28 10:52:53 -04:00
2026-07-10 20:43:42 -05:00
2026-08-28 10:05:42 -04:00
2026-07-06 21:02:04 -05:00
2026-08-26 23:17:03 -04:00
2026-08-04 22:16:14 -05:00
2026-08-28 09:37:29 -04:00
2026-08-27 09:23:52 -04:00
2026-08-15 18:31:50 -04:00
2026-08-28 08:55:50 -04:00
2026-07-09 00:14:53 -05:00
2026-05-13 01:34:19 -05:00
2026-08-26 21:04:30 -04:00
2026-08-25 09:40:33 -04:00
2026-08-28 09:37:29 -04:00
2026-08-25 21:05:52 -05:00
2026-05-21 18:20:50 -05:00
2026-05-10 11:53:31 -05:00
2026-08-27 14:16:38 -04:00
2026-08-01 15:28:54 -05:00
2026-08-28 11:24:47 -04:00
2026-08-15 12:48:27 -04:00
2026-08-19 23:17:36 -05:00
2026-05-10 11:53:31 -05:00
2026-08-18 17:38:11 -04:00
2026-08-26 23:04:29 -04:00
2026-08-26 21:04:30 -04:00
2026-08-28 11:03:12 -04:00
2026-08-26 13:44:31 -04:00
2026-07-06 21:02:04 -05:00
2026-06-17 00:41:24 -05:00
2026-08-28 15:31:53 -04:00
2026-08-10 09:04:40 -04:00
2026-08-14 11:16:21 -04:00
2026-05-10 11:53:31 -05:00
2026-05-21 18:20:09 -05:00
2026-05-10 11:53:31 -05:00
2026-07-06 21:02:04 -05:00