Skip to content

Commit

Permalink
Use the existing type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasper committed Mar 27, 2021
1 parent f6c0df1 commit 5b718b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/arc_ecto/definition.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defmodule Arc.Ecto.Definition do
@behaviour Ecto.Type
end

@type t() :: String.t()
@type t() :: Arc.Ecto.t()

def type, do: Arc.Ecto.Type.type()
def cast(value), do: Arc.Ecto.Type.cast(unquote(definition), value)
Expand Down

0 comments on commit 5b718b1

Please sign in to comment.