encode / apistar

The Web API toolkit. 🛠
https://docs.apistar.com
BSD 3-Clause "New" or "Revised" License
5.57k stars 411 forks source link

Fix Boolean Validation: self.value => self.values #600

Closed TheCulliganMan closed 5 years ago

TheCulliganMan commented 6 years ago

This fixes allow_null=True paired with allow_coerce=True boolean validation

tomchristie commented 5 years ago

Looks like this is completely out of sync. Not sure why it's not just targeting validators.py which I think is where you change is. If you're still interested I think you'd want to sync to master and reissue the PR.

TheCulliganMan commented 5 years ago

Sorry about this one. Went to the wrong branch.