nexxbiz / JLio

The project aims to be able to run a JSON noted transformation script to transform other JSON objects.
https://JLio.online
MIT License
5 stars 1 forks source link

Partial function works differently in UI compared to packages #44

Closed cristinamudura closed 2 years ago

cristinamudura commented 2 years ago

Using the partial function in code results in

"test": [
    "=partial(@.CoverageName, @.CoveragePremiumExclTaxes, @.CoveragePremiumInclTaxes)",
    "=partial(@.CoverageName, @.CoveragePremiumExclTaxes, @.CoveragePremiumInclTaxes)"
]

instead of the right filterd objects, whereas in the UI the function works fine

FransVanEk commented 2 years ago

It seems that the packages you used were older than those used in the UI. if you upgrade the packages, the behavior will be the same