ExTenant.Changeset.cast_tenanted

You're seeing just the macro cast_tenanted, go back to ExTenant.Changeset module for more information.
Link to this macro

cast_tenanted(changeset, params, allowed)

View Source (macro)

Basically call this like the standard cast function and the module macros will handle all the tenant_id injecting

Example

def changeset(attrs) do
  %__MODULE__{}
  |> cast_tenanted(attrs, [:name, :body])
end