Skip to content

Added support for search - #88

Open
calvinfroedge wants to merge 1 commit into
clojure-clutch:masterfrom
calvinfroedge:master
Open

calvinfroedge wants to merge 1 commit into
clojure-clutch:masterfrom
calvinfroedge:master

Conversation

@calvinfroedge

Copy link
Copy Markdown

Hi,

Thanks for your work on this library. I needed to implement the search feature for my API, and noticed that it wasn't supported, so I added it.

I only had to refactor clutch.clj a tiny bit.

I had to change the response handler quite a bit, as (rest lines) was not defined for some reason when returning from the search URL.

I don't think I broke anything else, but I was unable to run the tests, even with a fresh repo (unchanged), so I definitely suggest you run the tests yourself. I kept getting lots of these:

ERROR in (use-type-as-db-arg) (PlainSocketImpl.java:-2) Uncaught exception, not in assertion. expected: nil actual: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:-2)

@daveliepmann

Copy link
Copy Markdown

+1

Any chance of this getting merged?

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

Successfully merging this pull request may close these issues.

2 participants