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
Problem
Currently, not all exchanged messages derive from Jason.Encoder, which means they're not serializable to JSON.
There's a workaround for that - client could explicitly derive that protocol for needed structs.
Solution
The solution is two steps process:
use TypedStruct to make defining messages easier end less error prone
derive Jason.Encoder for all messages structs
The text was updated successfully, but these errors were encountered:
Problem
Currently, not all exchanged messages derive from Jason.Encoder, which means they're not serializable to JSON.
There's a workaround for that - client could explicitly derive that protocol for needed structs.
Solution
The solution is two steps process:
The text was updated successfully, but these errors were encountered: