Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass in the Changes URL (vs the DB URL) #11

Open
BigBlueHat opened this issue Nov 2, 2016 · 1 comment
Open

Pass in the Changes URL (vs the DB URL) #11

BigBlueHat opened this issue Nov 2, 2016 · 1 comment

Comments

@BigBlueHat
Copy link

There are situations where folks proxy the CouchDB API or otherwise only expose parts of it--such as the changes feed--into their own API space. Since this library only (afaict) works with the changes feed directly and doesn't access other database bits, it'd be helpful if I could pass in the URL directly to the feed itself.

@sballesteros can speak more to this use case. 😄

@jcrugzz
Copy link
Owner

jcrugzz commented Nov 2, 2016

@BigBlueHat Seems like we would be able to support both cases. If a changesUrl is passed in, it would supercede the normal url + '/_changes assumption. Would definitely take a PR to add this

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

No branches or pull requests

2 participants