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

Support multiple messages for single character based rules #109

Closed
dfish3r opened this issue Jan 10, 2020 · 0 comments · Fixed by #110
Closed

Support multiple messages for single character based rules #109

dfish3r opened this issue Jan 10, 2020 · 0 comments · Fixed by #110

Comments

@dfish3r
Copy link
Member

@dfish3r dfish3r commented Jan 10, 2020

It would be useful to allow some rules to leverage more than a single message based on its failure.
In the case of AllowedCharacterRule and IllegalCharacterRule it's natural to want a different message based on whitespace.
It can also be hard to construct a single message for all character types.

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 a pull request may close this issue.

1 participant