walmartlabs/joi — pull request #8 by thegoleffect (2012-09-20 22:45:25+00:00)
Title: apply default behavior fix to other types, not just string

fix eran's { "error": "Bad request", "message": "Invalid parameter: position = NaN", "code": 400 }

hopefully...