#
View Source Ash.Registry (ash v2.14.2)

A registry allows you to separate your resources from your `api` module, to reduce improve compile times and reduce compile time dependencies.

For example:

    defmodule MyApp.MyRegistry do
      use Ash.Registry

      entries do
        entry MyApp.Resource
        entry MyApp.OtherResource
      end
    end

# Link to this section Summary

## Types

t()

## Functions

entries(registry) deprecated

See `Ash.Registry.Info.entries/1`.

warn_on_empty?(registry) deprecated

See `Ash.Registry.Info.warn_on_empty?/1`.

# Link to this section Types

Link to this type

# t()

View Source

    @type t() :: module()

# Link to this section Functions

Link to this function

# entries(registry)

View Source
This function is deprecated. use Ash.Registry.Info.entries/1 instead.

See `Ash.Registry.Info.entries/1`.

Link to this function

# warn_on_empty?(registry)

View Source
This function is deprecated. use Ash.Registry.Info.warn_on_empty?/1 instead.

See `Ash.Registry.Info.warn_on_empty?/1`.