mikeywaites / kim

Kim: A JSON Serialization and Marshaling framework
http://kim.readthedocs.org/en/latest/
Other
317 stars 17 forks source link

custom validators should be passed the marshaled data not the raw data #20

Closed jackqu7 closed 9 years ago

jackqu7 commented 10 years ago

if i have a DateTime field defined and a custom validator for it, the custom validator will be passed '2014-05-12T00:00:00Z', when it should probably be passed datetime(2014, 5, 12)