Github user nolanlawson commented on the pull request:
https://github.com/apache/couchdb-couch/pull/18#issuecomment-94812766
> If I make /_bulk_get compatible with PouchDB
As @dholth said, his implementation is a *PouchDB plugin*. PouchDB does not
depend on it.
> A top level array is a little better for streaming.
The streaming stuff (pouchdb-replication-stream, pouchdb-load,
socket-pouch, etc.) is a parallel effort . I consider it a long-term plan,
whereas `_bulk_get`/`_bulk_revs` is the short-term fix.
> Well, I'm fine to break compatibility,
The stance of PouchDB (and I think @daleharvey would agree) is that we will
implement whatever CouchDB implements. CouchDB is our gold standard, not RCouch
or Couchbase.
That being said, if Couchbase has a solution that handles errors (even if a
bit inelegantly), then I think we should prefer their version instead of
inventing a third version. RCouch has few users (AFAIK), but Couchbase Mobile
is pretty popular for iOS/Android development. So we would benefit by tapping
in to their ecosystem.
PouchDB's only point of contention with the Couchbase API is that we need a
JSON response rather than a multipart/mixed response. Basically if the client
says `Accept: application/json`, then the server has to return JSON.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---