Jido.Signal.Serialization.ModuleNameTypeProvider (Jido Signal v1.0.0)

View Source

A type provider that uses the Elixir module name

Example:

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

Summary

Functions

Convert a struct to a type string.

Convert a type string to a struct.

Functions

to_string(struct)

@spec to_string(struct()) :: String.t()

Convert a struct to a type string.

to_struct(type)

@spec to_struct(String.t()) :: struct()

Convert a type string to a struct.