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

tolerant view parameter in view method #211

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wunderkind2k1
Copy link
Contributor

Cradle accesses couch views with its own shorter notation - omitting _design and _view url parts of the real couch query url.
The user of cradle might stumble upon this feature and provide views with leading or trailing slashes which lead to errors.

This implementation allows to call view() with leading and trailing slashes to reduce unnecessary errors in view calls.

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

Successfully merging this pull request may close these issues.

1 participant