Skip to content

Commit

Permalink
fix: traverse custom expressions when listing refs
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jan 27, 2025
1 parent f1617ff commit cea3d55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ash/filter/filter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2309,6 +2309,9 @@ defmodule Ash.Filter do
expand_get_path?
)

%Ash.CustomExpression{expression: expression} ->
do_list_refs(expression, no_longer_simple?, false, expand_calculations?, expand_get_path?)

%{__predicate__?: _, arguments: args} ->
Enum.flat_map(
args,
Expand Down

0 comments on commit cea3d55

Please sign in to comment.