sloria/webargs — pull request #30 by venuatu (2014-12-19 01:37:27+00:00)
Title: Handling Arg(type, multiple=True, allow_missing=True)

core.get_value gets the _Missing type, places it into an list and then fails the type conversion/validation.
The attached test gives a 400 with: `'message': 'Expected type "integer" for ids, got "_Missing"'` and only seems to be hit when there is something in the payload

A terribly quick hack is in: https://github.com/venuatu/webargs/commit/7824c968df7d2c7db9da7aba3d7f613a13fbd196 but it doesn't take allow_missing into consideration.
It looks like core.get_value might need a refactor to take allow_missing and/or required or pushing the function into the argument class.
What would be the best way of fixing this?