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

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