Ash.Domain.Igniter (ash v3.5.9)

View Source

Codemods for working with Ash.Domain modules

Summary

Functions

Adds a code interface if not present to the given resource on the given domain

Adds a resource reference to a domain's resources block

List all domain modules found in the project

Removes a resource reference from a domain's resources block

Functions

add_new_code_interface(igniter, domain, resource, name, definition)

Adds a code interface if not present to the given resource on the given domain

add_resource_reference(igniter, domain, resource)

Adds a resource reference to a domain's resources block

list_domains(igniter)

List all domain modules found in the project

remove_resource_reference(igniter, domain, resource)

Removes a resource reference from a domain's resources block