mikeywaites / kim

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

Feature/blank #169

Closed jackqu7 closed 7 years ago

jackqu7 commented 7 years ago

Add blank option to String to disallow empty string

Add tests and clarify docs around required/allow_none

Contrary to what we had assumed, allow_none is actually only relevant when a field is not required. Whilst it's a bit poorly named, there is in fact no problem with what it does and it's reason for existence. Updated docs to make it more clear what the purpose of it is.

111