[Bug] in
is allowed operator for array field but does not filter for list values
#525
Labels
bug
Something isn't working
Summary / Steps to reproduce
I've got a flop schema like this, with a field that is a string array
Flop tells me that
in
is an allowed operatorSo I construct a filter like this, to filter records to only those that have reading or maths in their subscription_types. Flop tells me this filter is valid
But when I apply it, Flop tells me its invalid
Is this expected or am I doing something wrong? If it's not supposed to work, should
in
be removed from the allowed operators? and/or is there a combination of filters that will allow me to achieve this with Flop filters?Elixir/Flop/Ecto Version Info
click to expand
Erlang/OTP 26 [erts-14.2.2] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [jit]
Elixir 1.17.1 (compiled with Erlang/OTP 25)
locked at 3.12.1 (ecto_sql) aff5b958
locked at 0.26.1 (flop) 5fcab8a1
locked at 0.23.1 (flop_phoenix) e7d55a2e
The text was updated successfully, but these errors were encountered: