Closed
Description
When I add a protocol implementation such as the following, I run into a waring when recompiling:
defimpl Poison.Encoder, for: BSON.ObjectId do
def encode(id, options) do
BSON.ObjectId.encode!(id) |> Poison.Encoder.encode(options)
end
end
produces on recompile
warning: the Poison.Encoder protocol has already been consolidated, an implementation for BSON.ObjectId has no effect
Using Elixir 1.3.2, for more info see elixir-mongo/mongodb#46 (comment)