Skip to content

Commit

Permalink
Provide missing implementation for Ecto 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilLelonek committed Oct 19, 2019
1 parent 70a053e commit a25fe7e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/exnumerator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ defmodule Exnumerator do

@impl true
def load(term), do: Exnumerator.load(values(), term)

@impl true
def embed_as(_format), do: :self

@impl true
def equal?(term, term), do: true
@impl true
def equal?(_term1, _term2), do: false
end
end

Expand Down

0 comments on commit a25fe7e

Please sign in to comment.