clojure.walk/keywordize-keys wants ns support for clojure.spec utility

Description

keywordize-keys currently takes a single argument, a nested structure presumably containing maps, turning all string keys into un-namespaced keys. I've found that I've needed to maintain my own modified version of keywordize-keys that allows me to pass a namespace so I can import JSON objects and use them with clojure.spec (which strongly prefers namespaced keys).

The addition of an additional 2-arity invocation with a namespace string argument is a non-breaking change. I'll attach a patch once I have a JIRA number.

Environment

None

Activity

Show:
Aaron Brooks
April 8, 2017, 7:51 PM

This patch also includes a test but I accidentally selected "Code" when I opened the ticket. I don't think I can change that. Can a maintainer update the "Patch" field to "Code and test"?

Alex Miller
April 11, 2017, 10:10 PM

Another route to go with this btw is to first do to build on.

Assignee

Unassigned

Reporter

Aaron Brooks

Labels

None

Approval

None

Patch

Code and Test

Affects versions

Priority

Major
Configure