Skip to content

Maps that are not Enumerable #68

@bartlomiej-korpus

Description

@bartlomiej-korpus

Hello!

When using Recase.Enumerable.convert_keys, it tries to recursively convert keys in maps. The problem is that not every map has Enumerable protocol implementation, so it raises if it finds for example DateTime struct.

Guess we could check if Enumerable is implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions