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

Add resource path warning #292

Merged
merged 3 commits into from
Apr 30, 2015
Merged

Add resource path warning #292

merged 3 commits into from
Apr 30, 2015

Conversation

circlingthesun
Copy link
Contributor

Warn the user when collection_path == path. See #290

@almet
Copy link
Contributor

almet commented Apr 22, 2015

Thanks!

@almet
Copy link
Contributor

almet commented Apr 22, 2015

Can we add a test for this?

@circlingthesun
Copy link
Contributor Author

Well, it's just a warning message. Would you prefer an exception instead?

On Wed, 22 Apr 2015 1:57 pm Alexis Metaireau notifications@github.com
wrote:

Can we add a test for this?


Reply to this email directly or view it on GitHub
#292 (comment)
.

@almet
Copy link
Contributor

almet commented Apr 22, 2015

A warning message is fine. But having a test exercising we're actually alerting the user make sense to me. Here is how we did in Cliquet for instance

@almet
Copy link
Contributor

almet commented Apr 30, 2015

@circlingthesun hey, just checking out if you have anything?

@circlingthesun
Copy link
Contributor Author

Yep. I've added the test.

@almet
Copy link
Contributor

almet commented Apr 30, 2015

excellent! Thanks.

almet added a commit that referenced this pull request Apr 30, 2015
@almet almet merged commit ca8d00c into Cornices:master Apr 30, 2015
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.

2 participants