Commanded v1.0.0 Commanded.Serialization.ModuleNameTypeProvider View Source

A type provider that uses the Elixir module name

Example:

  • %An.Event{} module mapped to "Elixir.An.Event".

Link to this section Summary

Functions

Type of the given Elixir struct as a string

Convert the given type string to an Elixir struct

Link to this section Functions

Type of the given Elixir struct as a string

Callback implementation for Commanded.EventStore.TypeProvider.to_string/1.

Convert the given type string to an Elixir struct

Callback implementation for Commanded.EventStore.TypeProvider.to_struct/1.