From 5b718b1ca95530f7014b8990c379ddc00c9407a4 Mon Sep 17 00:00:00 2001 From: Matt Casper Date: Sat, 27 Mar 2021 11:46:31 -0700 Subject: [PATCH] Use the existing type definition --- lib/arc_ecto/definition.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/arc_ecto/definition.ex b/lib/arc_ecto/definition.ex index 954c2cb..6978978 100644 --- a/lib/arc_ecto/definition.ex +++ b/lib/arc_ecto/definition.ex @@ -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)