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
I was taking a look at the source of tentacat, and noticed an issue.
Tentacat implements the Jason.Encoder protocol for tuples. This is problematic, as this will modify the behavior of the consuming application's Jason encoding outside of tentacat, which may not be desirable.
As a recommendation, users should either precompute their data, implement Jason.Encoder to the outer structure containing the tuple, or provide a hook for encoding.
The text was updated successfully, but these errors were encountered:
Hello 👋🏼
I was taking a look at the source of
tentacat
, and noticed an issue.Tentacat implements the
Jason.Encoder
protocol for tuples. This is problematic, as this will modify the behavior of the consuming application's Jason encoding outside oftentacat
, which may not be desirable.As a recommendation, users should either precompute their data, implement
Jason.Encoder
to the outer structure containing the tuple, or provide a hook for encoding.The text was updated successfully, but these errors were encountered: