mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
fix: module type apply_constraints for nil fix (#1313)
This commit is contained in:
parent
04a7148ab1
commit
2c37e71d46
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ defmodule Ash.Type.Module do
|
|||
{:atomic, new_value}
|
||||
end
|
||||
|
||||
def apply_constraints(nil, _), do: :ok
|
||||
def apply_constraints(nil, _), do: {:ok, nil}
|
||||
|
||||
def apply_constraints(value, constraints) do
|
||||
[]
|
||||
|
|
Loading…
Reference in a new issue