Skip to content

Commit

Permalink
fix: call get_type in cast_stored again
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jul 20, 2021
1 parent 563926b commit 857b0d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ash/type/type.ex
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ defmodule Ash.Type do
end

def cast_stored(type, term, constraints) do
type = get_type(type)
type.cast_stored(term, constraints)
end

Expand Down

0 comments on commit 857b0d0

Please sign in to comment.