phindmarsh/wave — pull request #4 by myqlarson (2012-11-22 10:35:55+00:00)
Title: Bugfix: Validator/Datatype: No exception for invalid field types

* invalid field types didn't throw any errors, so errors in schemas, such as `alphanum` instead of `varchar` just caused requests to fail (found out the hard way!)
* reformatted `if…else` statements to make comparisons between options more easily comparable