fix: && and || don't short-circuit to nil

This commit is contained in:
Zach Daniel 2022-07-20 15:46:14 -04:00
parent 7b9861dc2c
commit 331d0cf66c

View file

@ -65,9 +65,6 @@ defmodule Ash.Query.Operator.Basic do
end
end
defp do_evaluate(_, nil, _), do: {:known, nil}
defp do_evaluate(_, _, nil), do: {:known, nil}
defp do_evaluate(:<>, left, right) do
{:known, to_string(left) <> to_string(right)}
end