Skip to content

Maps with UUID keys #9

@harold

Description

@harold

Appreciate you efforts here, this is a cool library.

user> (require '[balloon.core :as b])
nil
user> (b/deflate {1 {:a 1}})
{:1.a 1}
user> (b/deflate {(random-uuid) {:a 1}})
Execution error (ClassCastException) at balloon.core/keys->deflated-key$fn$iter$fn$fn (core.cljc:22).
class java.util.UUID cannot be cast to class clojure.lang.Named (java.util.UUID is in module java.base of loader 'bootstrap'; clojure.lang.Named is in unnamed module of loader 'app')

I get that the result might not be pretty, but we have a lot of maps like this that this library might help with a lot.

Thanks in advance for your time and consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions