Ash.Resource.Change.Builtins.set_context

You're seeing just the function set_context, go back to Ash.Resource.Change.Builtins module for more information.

Specs

set_context(map() | mfa()) :: {atom(), Keyword.t()}

Merges the given query context. If an MFA is provided, it will be called with the changeset.

The MFA should return {:ok, context_to_be_merged} or {:error, term}