pouchdb-community / worker-pouch

Easy way to use PouchDB inside a Web Worker or Service Worker
Apache License 2.0
218 stars 34 forks source link

set type to 'http' to invoke http-ish behavior #33

Open nolanlawson opened 7 years ago

nolanlawson commented 7 years ago

One good way to test interop issues with https://github.com/pouchdb/pouchdb/issues/6106 is to just change the type() to 'http' and see if the tests still pass.

If they do, this is a reasonable change for interop reasons, even if it doesn't make much logical sense. The goal is just to invoke PouchDB behavior that is optimized for remote adapters, i.e. adapters where it's expensive to cross some kind of boundary (http, web sockets, worker, etc.).