View Source Ash.Resource.Igniter (ash v3.4.9)
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
Adds a bypass to the top of the resource's policies
block
Adds a policy to the bottom of the resource's policies
block
Adds the given code block to the resource's relationships
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
Adds a bypass to the top of the resource's policies
block
Adds a policy to the bottom of the resource's policies
block
Adds the given code block to the resource's relationships
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