benoitc / couchbeam

Apache CouchDB client in Erlang
Other
242 stars 113 forks source link

added support for _design document _list functions #158

Closed k-anderson closed 3 years ago

k-anderson commented 7 years ago

The library current accepts a view option 'list' which is passed along to couchdb: https://github.com/benoitc/couchbeam/blob/master/src/couchbeam_view.erl#L406

However, unless I am misunderstanding the documentation it should be changing the URL to support _list requests. This PR will do just that and has been tested on BigCouch (which should have the same _list API as CouchDB). The parameter did not seem to have any impact prior to this change.

Thanks!

lazedo commented 7 years ago

@benoitc ping!

dschreiber commented 7 years ago

Hey guys, Any chance this pull request can be reviewed? Sorry to nag, but this is kind of a big deal for us. We'd love to see this request accepted!