From a590dfb1a2059855c8c5c57a0e8306ed908cf35f Mon Sep 17 00:00:00 2001 From: Tom Clarke Date: Sun, 1 Sep 2024 22:05:19 -0400 Subject: [PATCH] add debug output --- lib/ash/filter/filter.ex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/ash/filter/filter.ex b/lib/ash/filter/filter.ex index 22c9786b8..7290784b6 100644 --- a/lib/ash/filter/filter.ex +++ b/lib/ash/filter/filter.ex @@ -1148,6 +1148,11 @@ defmodule Ash.Filter do end def map(expression, func) do + if expression != func.(expression) do + IO.inspect(expression, label: "expression") + IO.inspect(func.(expression), label: "func.(expression)") + end + do_map(func.(expression), func) end