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

Multi-word string keys break on retrieval #89

Open
daveliepmann opened this issue Sep 18, 2015 · 0 comments
Open

Multi-word string keys break on retrieval #89

daveliepmann opened this issue Sep 18, 2015 · 0 comments

Comments

@daveliepmann
Copy link

When using get-view to retrieve a document that has a multi-word key like "foo bar", clutch creates a single-word keyword out of the first word, like :foo bar, which breaks the map. This seems to be caused by (json/parse-string true) on lines 98 and 103 of http_client.clj.

I apologize for not submitting a fix via PR; I'm a bit pressed for time—as I'm sure we all are. I suspect the best resolution would be to optionally pass a parameter to get-view to control whether keywords are keywordized.

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

No branches or pull requests

1 participant