mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 13:33:50 +12:00
fix: handle additional case for new functional repo callback
This commit is contained in:
parent
db8255e5b1
commit
2b29f728e2
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ defmodule AshPostgres.Transformers.PreventMultidimensionalArrayAggregates do
|
|||
end
|
||||
end)
|
||||
|
||||
repo = Transformer.get_option(dsl, [:postgres], :repo)
|
||||
repo = AshPostgres.DataLayer.Info.repo(dsl, :mutate)
|
||||
|
||||
cond do
|
||||
match?({:error, _}, Code.ensure_compiled(repo)) ->
|
||||
|
|
Loading…
Reference in a new issue