View Source Ash.Resource.Igniter (ash v3.4.10)
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 the given code block to the block of the resource specified
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
Adds the given code block to the resource's resource 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 the given code block to the block of the resource specified
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
add_resource_configuration(igniter, resource, resource_configuration)
View SourceAdds the given code block to the resource's resource 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