Ash.Changeset.apply_attributes

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

apply_attributes(changeset, opts \\ [])

View Source

Specs

apply_attributes(t(), opts :: Keyword.t()) ::
  {:ok, Ash.Resource.record()} | {:error, t()}

Returns the original data with attribute changes merged, if the changeset is valid.

Options:

  • force? - applies current attributes even if the changeset is not valid