You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: redefining module Poison.Encoder.DateTime (current version loaded from _build/dev/lib/poison/ebin/Elixir.Poison.Encoder.DateTime.beam)
lib/protocols/dates.ex:1
Is there a way to avoid that?
(Use-case: need specific datetime format for json api)
The text was updated successfully, but these errors were encountered:
Poison is allowing to define custom implementations for encoding specific data types.
However, if implementation already defined by poison itself, e.g.
https://github.com/devinus/poison/blob/master/lib/poison/encoder.ex#L337
then re-defining it produces nasty-looking warning
e.g.
Is there a way to avoid that?
(Use-case: need specific datetime format for json api)
The text was updated successfully, but these errors were encountered: