-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
The encode documentation misses that structs are handled by the encode_map function as:
defp encode_map(struct, state) when is_map_key(struct, :__struct__) do
:euneus_encoder.encode_map(Map.from_struct(struct), state)
end
defp encode_map(map, state) do
:euneus_encoder.encode_map(map, state)
endi.e., structs are encoded as Map.from_struct(struct).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation