View Source Ash.Type.Module (ash v2.18.2)

Stores a module as a string in the database.

A builtin type that can be referenced via :module.

Constraints

  • :behaviour (atom/0) - Allows constraining the module a one which implements a behaviour

  • :protocol (atom/0) - Allows constraining the module a one which implements a protocol