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

allow user to modify formatting of errors #138

Merged
merged 1 commit into from Jun 18, 2016
Merged

Conversation

@stephen-dahl
Copy link

@stephen-dahl stephen-dahl commented Jun 17, 2016

I split error formatters into separate functions and exposed them in v.formatters then modified v.processValidationResults to look for formatters in v.formatters.

This allows users to replace the stock error formatters or add their own.

…lidate object. modified v.processValidationResults to look for formatters in v.formatters.
@ansman ansman merged commit a7ab1c9 into ansman:master Jun 18, 2016
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@ansman
Copy link
Owner

@ansman ansman commented Jun 18, 2016

Looks good, thanks 👍

ansman pushed a commit that referenced this pull request Jun 18, 2016
Nicklas Ansman Giertz Nicklas Ansman Giertz
@ansman
Copy link
Owner

@ansman ansman commented Nov 5, 2016

Released in 0.11.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.