Closed gjtorikian closed 9 years ago
@gjtorikian Love it! Thank-you.
In the general spirit of leaving things better than they were before, what do you think about adding some basic unit tests for the formatter (one word, two words, three words)?
@brandur Done!
Thanks!
Released as 0.7.0.
Currently, when a validation fails to match one or more types, an error message like the following is returned:
This PR suggests that we transforms the "a object/null" portion into something a little friendlier:
For multiple errors, the output would be:
The code is more or less the same way Rails does it.
/cc @izuzak @jasonrudolph since we'd been discussing this internally.