Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dispatch for every implementation of IPersistentMap #701

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

bsless
Copy link
Contributor

@bsless bsless commented Sep 13, 2024

Closes #700

@ikitommi ikitommi merged commit d11deb3 into metosin:master Sep 30, 2024
7 checks passed
(let [f (fn [[k v]] (if (string? k) [(keyword k) v] [k v]))]
(into {} (map f) m)))

(doseq [type [clojure.lang.IPersistentMap]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why doseq here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly because I copied the other implementation.
Makes it easier to extend to another type in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Header coercion no longer works using aleph with 0.7.2
2 participants