Open sr3d opened 4 years ago
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.
{ 1 {:a "b"} }
transform-keys ->kebab-case-keyword
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.
This also affects UUID keys.
for a map such as
{ 1 {:a "b"} }
, callingtransform-keys ->kebab-case-keyword
would throw an exception since it tries to symbolize the numerical key.The desirable result is that numerical keys are kept in tact and only text keys are converted.