Skip to content

(transform-keys ->kebab-case-keyword data-map) failed for numerical keys #62

@sr3d

Description

@sr3d

for a map such as { 1 {:a "b"} }, calling transform-keys ->kebab-case-keyword would throw an exception since it tries to symbolize the numerical key.

ClassCastException java.lang.Long cannot be cast to clojure.lang.Named  clojure.core/name (core.clj:1587)

The desirable result is that numerical keys are kept in tact and only text keys are converted.

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