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
if (String.class.isAssignableFrom(value.getClass())) {
hi Greg,
In the following response scenario if the filter key is not available in some node then I am getting null pointer exception. Could you please check this below?
Let's say given filter is like below
?fields=items[key=1]
Let's say response from service is like below. "key" element is missing in third node. We are trying to filter with "key=1". In this case , line number 80 is throwing null pointer exception as there is no key and value is null. We should return false in that case. What do you think?
catnap/catnap-core/src/main/java/com/github/gregwhitaker/catnap/core/query/model/CatnapEqualityExpression.java
Line 80 in b637dd5
hi Greg,
In the following response scenario if the filter key is not available in some node then I am getting null pointer exception. Could you please check this below?
Let's say given filter is like below
?fields=items[key=1]
Let's say response from service is like below. "key" element is missing in third node. We are trying to filter with "key=1". In this case , line number 80 is throwing null pointer exception as there is no key and value is null. We should return false in that case. What do you think?
{"items": [
{
"key": "1",
"value": "v1"
},
{
"key": "2",
"value": "v2"
},
{"value": "v3"}
]}
The text was updated successfully, but these errors were encountered: