Ash.Type.dump_to_embedded

You're seeing just the function dump_to_embedded, go back to Ash.Type module for more information.
Link to this function

dump_to_embedded(type, term, constraints \\ [])

View Source

Specs

dump_to_embedded(t(), term(), constraints() | nil) ::
  {:ok, term()} | {:error, keyword()} | :error

Casts a value from the Elixir type to a value that can be embedded in another data structure.

Embedded resources expect to be stored in JSON, so this allows things like UUIDs to be stored as strings in embedded resources instead of binary.