Skip to content

Commit 12579ad

Browse files
committed
chore: remove deprecated syntax
1 parent db011c0 commit 12579ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sql_implementation.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ defmodule AshPostgres.SqlImplementation do
188188
type
189189
) do
190190
if function_exported?(attr_type, :postgres_reference_expr, 3) do
191-
non_bare_ref = %Ash.Query.Ref{ref | bare?: nil}
191+
non_bare_ref = %{ref | bare?: nil}
192192
{expr, acc} = AshSql.Expr.dynamic_expr(query, non_bare_ref, bindings, embedded?, type, acc)
193193

194194
case attr_type.postgres_reference_expr(attr_type, constraints, expr) do

0 commit comments

Comments
 (0)