You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the root cause if the we re-use the base function. This explains the test case result which is the same as for this expression: {'systems': 'asd2'}.$map($, $append)
Fixed on main by #132: as in jsonata-js, only ? leaves a parameter unbound when partially applying a function, so $map($, $append(?)) now returns the expected result. Covered by testMapWithAppend / testMapWithAppend2 in OldPrsTest.
Activity
aeberhart commentedon Feb 28, 2026
I think the root cause if the we re-use the base function. This explains the test case result which is the same as for this expression: {'systems': 'asd2'}.$map($, $append)
aeberhart commentedon Nov 5, 2026
Fixed on main by #132: as in jsonata-js, only
?leaves a parameter unbound when partially applying a function, so$map($, $append(?))now returns the expected result. Covered bytestMapWithAppend/testMapWithAppend2inOldPrsTest.