adobe / json-formula

Query language for JSON documents
http://opensource.adobe.com/json-formula/
Apache License 2.0
19 stars 8 forks source link

Comparisons #123

Closed JohnBrinkman closed 6 months ago

JohnBrinkman commented 6 months ago

Description

Update the spec to indicate that when type coercion is necessary for comparison -- and the coercion fails -- the comparison will return false. We will not throw an error.

Added an explicit check for this condition that will emit debug warnings.

Related Issue

https://github.com/adobe/json-formula/issues/119

Tasks