Skip to content

Commit

Permalink
improvement: add otp_app option to use Ash.Domain
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Dec 23, 2024
1 parent ee4b8f7 commit ac3b2f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/mix/tasks/gen/ash.gen.domain.ex
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ if Code.ensure_loaded?(Igniter) do
else
igniter
|> Igniter.Project.Module.create_module(domain, """
use Ash.Domain
use Ash.Domain,
otp_app: :#{app_name}
resources do
end
Expand Down

0 comments on commit ac3b2f4

Please sign in to comment.