mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
fix: fix depend on resources to depend on each resource
This commit is contained in:
parent
cb192517c7
commit
6f2c685ae6
1 changed files with 2 additions and 1 deletions
|
@ -29,8 +29,9 @@ defmodule Ash.Api.Info do
|
||||||
defmacro depend_on_resources(api) do
|
defmacro depend_on_resources(api) do
|
||||||
quote do
|
quote do
|
||||||
if registry = Ash.Api.Info.registry(unquote(api)) do
|
if registry = Ash.Api.Info.registry(unquote(api)) do
|
||||||
|
@external_resource List.to_string(registry.module_info(:compile)[:source])
|
||||||
for entry <- Ash.Registry.Info.entries(registry) do
|
for entry <- Ash.Registry.Info.entries(registry) do
|
||||||
@external_resource List.to_string(registry.module_info(:compile)[:source])
|
@external_resource List.to_string(entry.module_info(:compile)[:source])
|
||||||
entry
|
entry
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue