jamsesso / json-logic-java

A pure Java implementation of JsonLogic without using the Nashorn JS engine
MIT License
99 stars 50 forks source link

The "all" operation will fail if data is an empty map when using variables. #42

Open rickardkatz-se opened 3 months ago

rickardkatz-se commented 3 months ago

The "all" operation will fail with "first argument to all must be a valid array" if data is an empty map when using variables. Added tests for different "all in" cases.

rickardkatz-se commented 2 months ago

Hi @jamsesso
I was not able to assign this to you so I will add this comment instead. Please have a look when you have time. Thanks!