piotr-oles/rsql

Parser converts array of numbers to array of strings

shayned35 opened this issue · 2 comments

Given a string like
tags:user:my_field1=isoneof=(81)

I would expect the value in the parsed expression to be
[81]
However, it currently coverts to
['81']

As you can imagine this is impacting the results of the filter.

Hi! The parser works as expected - the specification doesn't have a concept of numbers. This means that everything is considered as a string.

Got you! Thanks for the clarification, I shall remove this issue in that case