This commit is contained in:
Zach Daniel 2020-05-15 02:02:46 -04:00
parent 2e283aa493
commit a594747515
No known key found for this signature in database
GPG key ID: C377365383138D4B

View file

@ -35,6 +35,10 @@ defmodule Ash.Filter.In do
{:ok, values} ->
{:ok, %__MODULE__{values: values}}
end
|> case do
{:ok, %{values: values}} = in_operator -> {:ok, %{in_operator | values: Enum.uniq(values)}}
{:error, error} -> {:error, error}
end
end
end