mirror of
https://github.com/ash-project/ash.git
synced 2024-09-19 21:13:10 +12:00
chore: List.wrap .load
call on calculations
This commit is contained in:
parent
8799191165
commit
3726f9b8b0
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ defmodule Ash.Actions.Helpers do
|
|||
"""
|
||||
end
|
||||
|
||||
def validate_calculation_load!(other, _), do: other
|
||||
def validate_calculation_load!(other, _), do: List.wrap(other)
|
||||
|
||||
defp set_context(%Ash.Changeset{} = changeset, context),
|
||||
do: Ash.Changeset.set_context(changeset, context)
|
||||
|
|
Loading…
Reference in a new issue