couch-client icon indicating copy to clipboard operation
couch-client copied to clipboard

changes should allow arbitrary query params

Open jchris opened this issue 15 years ago • 1 comments

I need to specify a filter for my changes function. I think the first argument should be an options hash so that that can be done. (Also filters can take arbitrary query params, so those are definitely needed.)

I do agree with the default hearbeat and feed setting you have.

jchris avatar Aug 27 '10 07:08 jchris

I'd like to keep the API as minimal as possible. If you want to do anything custom, the request method makes that pretty easy. I really don't want to force people to use my abstraction methods for every possible use case. I find abstractions leaky as best most the time.

That said, you're welcome to submit a patch for this. I'm not set on the API for changes yet.

creationix avatar Aug 27 '10 18:08 creationix