improvement: specify @behaviour in AshPostgres.Type

This commit is contained in:
Zach Daniel 2023-08-21 11:14:33 -04:00
parent c8aa2a8dd8
commit 8a6f51efb5

View file

@ -10,6 +10,7 @@ defmodule AshPostgres.Type do
defmacro __using__(_) do defmacro __using__(_) do
quote do quote do
@behaviour AshPostgres.Type
def value_to_postgres_default(_, _, _), do: :error def value_to_postgres_default(_, _, _), do: :error
defoverridable value_to_postgres_default: 3 defoverridable value_to_postgres_default: 3