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

mistype and default_rule and manage? #92

Closed
skojin opened this issue Nov 3, 2019 · 1 comment
Closed

mistype and default_rule and manage? #92

skojin opened this issue Nov 3, 2019 · 1 comment

Comments

@skojin
Copy link
Contributor

skojin commented Nov 3, 2019

I just have problem, because I make mistype, and instead of create? type create.
And I expected that it will fail, but instead it fallback to default manage? rule. For me this behaviour looks strange and add unexpected magic.

I off this behaviour if default_rule nil

@palkan
Copy link
Owner

palkan commented Nov 4, 2019

This behavior is described in the documentation: here and here.

The best way to avoid such problems is to add tests 😉

@palkan palkan closed this as completed Nov 4, 2019
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