Closed johngrimes closed 8 months ago
This is one of the tests within the "basic" test suite:
{ "title": "where returns non-boolean for some cases", "view": { "resource": "Patient", "status": "active", "select": [ { "column": [ { "name": "id", "path": "id" } ] } ], "where": [ { "path": "active" } ] }, "expectError": true },
This is not correct, the view should not throw an error. It should merely filter out any resources for which active does not evaluate to true.
active
true
This is the correct result for this test:
"expect": [ { "id": "pt1" } ]
This is one of the tests within the "basic" test suite:
This is not correct, the view should not throw an error. It should merely filter out any resources for which
active
does not evaluate totrue
.This is the correct result for this test: