Hello! Wanted to report an incompatibility issue between two test cases I've found.
This is from @jwadhams' tests.json:
[
{"map":[{"var":"integers"}, {"*":[{"var":""},2]}]},
null,
[]
],
"or",
{
"description": "Filter, map, all, none, and some (6)",
"rule": {
"map": [
{
"var": "integers"
},
{
"*": [
{
"var": ""
},
2
]
}
]
},
"data": null,
"result": []
},
and this is from this repo:
{
"description": "Missing array returns error",
"rule": {
"none": [
{"var": "missing"},
{"<": [{"var": ""}, 0]}
]
},
"data": {},
"error": {"type": "Invalid Arguments"}
},
Throwing an error here breaks backwards compatibility and according to the accepted proposals, this should not be happening. Can you clarify what should we be doing here? Shall we rewrite Missing array returns error? Or shall we deprecate it? Thanks!
Hello! Wanted to report an incompatibility issue between two test cases I've found.
This is from @jwadhams' tests.json:
[ {"map":[{"var":"integers"}, {"*":[{"var":""},2]}]}, null, [] ], "or", { "description": "Filter, map, all, none, and some (6)", "rule": { "map": [ { "var": "integers" }, { "*": [ { "var": "" }, 2 ] } ] }, "data": null, "result": [] },and this is from this repo:
{ "description": "Missing array returns error", "rule": { "none": [ {"var": "missing"}, {"<": [{"var": ""}, 0]} ] }, "data": {}, "error": {"type": "Invalid Arguments"} },Throwing an error here breaks backwards compatibility and according to the accepted proposals, this should not be happening. Can you clarify what should we be doing here? Shall we rewrite
Missing array returns error? Or shall we deprecate it? Thanks!