mirror of
https://github.com/ash-project/ash.git
synced 2024-09-19 21:13:10 +12:00
chore: remove IO.inspect
This commit is contained in:
parent
5af5702efb
commit
a08582ed0f
1 changed files with 0 additions and 12 deletions
|
@ -430,8 +430,6 @@ defmodule Ash.Actions.Read.Relationships do
|
||||||
related_query,
|
related_query,
|
||||||
Ash.context_to_opts(related_query.context),
|
Ash.context_to_opts(related_query.context),
|
||||||
fn ->
|
fn ->
|
||||||
IO.inspect(Ash.DataLayer.in_transaction?(related_query.resource))
|
|
||||||
IO.inspect(self(), label: "fetch pid")
|
|
||||||
result =
|
result =
|
||||||
related_query
|
related_query
|
||||||
|> select_destination_attribute(relationship)
|
|> select_destination_attribute(relationship)
|
||||||
|
@ -440,17 +438,7 @@ defmodule Ash.Actions.Read.Relationships do
|
||||||
|> Ash.Query.set_context(%{
|
|> Ash.Query.set_context(%{
|
||||||
accessing_from: %{source: relationship.source, name: relationship.name}
|
accessing_from: %{source: relationship.source, name: relationship.name}
|
||||||
})
|
})
|
||||||
|> tap(fn thing ->
|
|
||||||
if Application.get_env(:foo, :bar) do
|
|
||||||
IO.inspect(thing)
|
|
||||||
end
|
|
||||||
end)
|
|
||||||
|> Ash.Actions.Read.unpaginated_read()
|
|> Ash.Actions.Read.unpaginated_read()
|
||||||
|> tap(fn thing ->
|
|
||||||
if Application.get_env(:foo, :bar) do
|
|
||||||
IO.inspect(thing)
|
|
||||||
end
|
|
||||||
end)
|
|
||||||
|
|
||||||
{relationship, related_query, result}
|
{relationship, related_query, result}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue