View Source Ash.Resource.Igniter (ash v3.2.6)
Codemods for working with Ash.Resource modules
Summary
Functions
Adds the given code block to the resource's actions
block
Adds the given code block to the resource's attributes
block
Gets the domain from the given resource module
List all resource modules found in the project
Functions
Adds the given code block to the resource's actions
block
Adds the given code block to the resource's attributes
block
@spec domain(Igniter.t(), Ash.Resource.t()) :: {:ok, Igniter.t(), Ash.Domain.t()} | {:error, Igniter.t()}
Gets the domain from the given resource module
List all resource modules found in the project