View Source Ash.Type.Module (ash v3.4.8)

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