improvement: allow overriding cast_input/2 on NewType

This commit is contained in:
Zach Daniel 2023-10-04 11:51:59 -04:00
parent 097a1cacc0
commit c691eb022c

View file

@ -306,7 +306,7 @@ defmodule Ash.Type.NewType do
Keyword.merge(constraints || [], subtype_constraints || []) Keyword.merge(constraints || [], subtype_constraints || [])
end end
defoverridable type_constraints: 2, storage_type: 1 defoverridable type_constraints: 2, storage_type: 1, cast_input: 2
end end
end end
end end