When it fails, You should always include error messages.
Also, it looks like a list of map, but You use it with tuple syntax.
Why Enum.flat_map? Enum.map should do the trick as well.
When it fails, You should always include error messages.
Also, it looks like a list of map, but You use it with tuple syntax.
Why Enum.flat_map? Enum.map should do the trick as well.