Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter on a string which is null fails #42

Open
EwoutB99 opened this issue Nov 30, 2023 · 0 comments
Open

Filter on a string which is null fails #42

EwoutB99 opened this issue Nov 30, 2023 · 0 comments

Comments

@EwoutB99
Copy link

When applying a filter on a key of type string which is NULL the code goes into an error:
"Object reference not set to an instance of an object"

While this is not the case with DateTime. Unit tests also don't include the test with string values.

Example:

Filter the list on the value "abc" for key "name", with one record in the list having name = null will throw the error.
[1] = {[name, {"value": "abc" , "matchMode": "startsWith"}}]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant