You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filter parsing should produce an error on comparison of count() with null.
STEPS TO REPRODUCE
Using the GettingStarted project, the following request:
GET /api/people?filter=equals(count(books),null) HTTP/1.1
succeeds, without matching anything.
EXPECTED BEHAVIOR
An error is produced, because the number of rows (int) can never match null.
Something along the lines of:
{
"errors": [
{
"id": "1792eb76-56f3-45f5-bea0-c9a318d475e3",
"status": "400",
"title": "The specified filter is invalid.",
"detail": "Failed to convert 'null' of type 'String' to type 'Int32'.",
"source": {
"parameter": "filter"
}
}
]
}
ACTUAL BEHAVIOR
No error is produced. The request succeeds without matching anything.
The text was updated successfully, but these errors were encountered:
DESCRIPTION
Filter parsing should produce an error on comparison of
count()
withnull
.STEPS TO REPRODUCE
Using the GettingStarted project, the following request:
succeeds, without matching anything.
EXPECTED BEHAVIOR
An error is produced, because the number of rows (int) can never match
null
.Something along the lines of:
ACTUAL BEHAVIOR
No error is produced. The request succeeds without matching anything.
The text was updated successfully, but these errors were encountered: