View Source mix ash.patch.extend (ash v3.4.1)
Adds an extension or extensions to the domain/resource
Extensions can either be a fully qualified module name, or one of the following list, based on the thing being extended
Ash.Domain
json_api
-AshJsonApi.Domain
graphql
-AshGraphql.Domain
Ash.Resource
postgres
-AshPostgres.DataLayer
sqlite
-AshSqlite.DataLayer
mysql
-AshMysql.DataLayer
ets
-Ash.DataLayer.Ets
mnesia
-Ash.DataLayer.Mnesia
embedded
-data_layer: :embedded
json_api
-AshJsonApi.Resource
graphql
-AshGraphql.Resource
Example
mix ash.patch.extend My.Domain.Resource postgres,Ash.Policy.Authorizer