-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support namespaced keywords #16
Comments
I think this library should support this (by default) and consider this a bug. What do you think @slipset @marcomorain ? |
I generally defer to @marcomorain for these kinds of questions, but it seems reasonable to me. @skuro would you be interested in whipping up a PR? |
Merged
Opened #17 which uses a slightly optimized approach to the same result: clojure.lang.Keyword
(encode [data]
;; using clojure.core/name would drop the namespace
(subs (str data) 1)) Hail hail the anti-if campaign! |
slipset
pushed a commit
that referenced
this issue
Jan 25, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, encoding of keywords strips away the namespace:
I discovered this while round-tripping (
yaml/parse-string
+yaml/generate-string
) a Kubernetes YAML, which included something like:I fixed it locally with
The text was updated successfully, but these errors were encountered: