busypeoples / spected

Validation library
MIT License
703 stars 32 forks source link

Allow passing a function for error message #2

Closed apalm closed 7 years ago

apalm commented 7 years ago

This is basically a straight port of https://github.com/25th-floor/revalidation/pull/6.

apalm commented 7 years ago

@busypeoples Updated. Let me know if you want me to squash the commits or do anything else.

busypeoples commented 7 years ago

@apalm Thanks! Sure, squash the commits. I will merge it then.

busypeoples commented 7 years ago

Resolves #2