Skip to content

Commit

Permalink
fix: remove redundant overload of Ash.Expr.get_path (#1328)
Browse files Browse the repository at this point in the history
  • Loading branch information
vonagam authored Jul 22, 2024
1 parent 34d6f22 commit b8029e3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions lib/ash/expr/expr.ex
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,6 @@ defmodule Ash.Expr do
end

@doc false
def get_path(map, [key]) when is_struct(map) do
Map.get(map, key)
end

def get_path(map, [key]) when is_map(map) do
Map.get(map, key)
end
Expand Down
1 change: 0 additions & 1 deletion lib/ash/query/function/parent.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
defmodule Ash.Query.Parent do
@moduledoc """
true if the provided field is nil
Used to access values from the "source" of a given expression.
This is used in cases where expressions are given for some relationship path, for example:any()
Expand Down

0 comments on commit b8029e3

Please sign in to comment.