Skip to content

Commit 3d7fa3d

Browse files
chore: remove conditional @impl for new ash_sql callback
1 parent 497e10a commit 3d7fa3d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

lib/sql_implementation.ex

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,8 @@ defmodule AshPostgres.SqlImplementation do
335335
{types, new_returns || returns}
336336
end
337337

338-
# Conditionally apply @impl to keep compatibility across ash_sql versions
339-
if {:immutable_errors?, 1} in AshSql.Implementation.behaviour_info(:callbacks) do
340-
@impl true
341-
def immutable_errors?(repo) do
342-
repo.immutable_expr_error?()
343-
end
338+
@impl true
339+
def immutable_errors?(repo) do
340+
repo.immutable_expr_error?()
344341
end
345342
end

0 commit comments

Comments
 (0)