Closed yunmikun2 closed 4 years ago
equal?/2 callback is required for an Ecto.Type since Ecto 3.0.0 and embed_as/1 -- since Ecto 3.2.0. Lacking to provide these callbacks raises a warning while compilation in user's code.
equal?/2
embed_as/1
Sorry, my mistake, these callbacks are defined automatically on use Ecto.Type. Closing this now.
use Ecto.Type
equal?/2
callback is required for an Ecto.Type since Ecto 3.0.0 andembed_as/1
-- since Ecto 3.2.0. Lacking to provide these callbacks raises a warning while compilation in user's code.