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

(#47) - Add support _db_updates feeds #48

Merged
merged 1 commit into from May 21, 2014

Conversation

Projects
None yet
2 participants
@jo
Copy link
Contributor

jo commented May 21, 2014

Follow detects whether an url (or db or uri) ends with /_db_updates and changes
its internals accordingly.

There is no need for extending the API and the change is fully backwards compatibel,
because the can't exist a db called _db_updates.
With one exception: If a user was to route a couchdb database on an endpoint
which is _db_updates it will not work the same anymore :)

Btw: I have moved the logic to support the variants to set the db: url and uri into the follow function to allow setting url property of the feed object, because speaking about db sounds wrong in this context.

@jo jo referenced this pull request May 21, 2014

Closed

Support _db_updates #47

(#47) - Add support _db_updates feeds
Follow detects whether an url (or db or uri) ends with `/_db_updates` and changes
its internals accordingly.

There is no need for extending the API and the change is fully backwards compatibel,
because the can't exist a db called `_db_updates`.
With one exception: If a user was to route a couchdb database on an endpoint
which is `_db_updates` it will not work the same anymore :)

jhs added a commit that referenced this pull request May 21, 2014

Merge pull request #48 from jo/47-db-updates
(#47) - Add support _db_updates feeds

@jhs jhs merged commit 9845679 into iriscouch:master May 21, 2014

@jo jo referenced this pull request May 28, 2014

Closed

Follow db updates #204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment