(transform-keys ->kebab-case-keyword data-map) failed for numerical keys
Opened this issue · 1 comments
sr3d commented
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.
stig commented
This also affects UUID keys.