consul-clojure icon indicating copy to clipboard operation
consul-clojure copied to clipboard

Issue with transforming keys to kebab-case

Open hamann opened this issue 5 years ago • 0 comments

The function used for transforming keys to kebab-cased keywords has an issue when the key is mixed with numbers and characters clj-commons/camel-snake-kebab#42 and this is problematic for keys like :runner-02adde85-7802-4039-9bae-85db2d366188, because such keys will be transformed to :runner-02adde-85-7802-4039-9bae-85db-2d-366188. A simple solution would be to just remove kebab-casing https://github.com/nextjournal/consul-clojure/commit/b192dee87faa736103547a5a9028369274766ed0 Should I open a PR?

hamann avatar May 17 '19 04:05 hamann