mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
improvement: allow overriding cast_input/2
on NewType
This commit is contained in:
parent
097a1cacc0
commit
c691eb022c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue