Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AttributeError if required array param is not supplied #111

Merged
merged 1 commit into from
Aug 17, 2016

Conversation

sjaensch
Copy link
Contributor

We've observed AttributeErrors internally if a required parameter of type array is not passed, instead of the expected schema or validation exception. This is because validation happens after unmarshalling of the array, and a missing required parameter is not currently handled correctly during unmarshalling.

@coveralls
Copy link

coveralls commented Aug 16, 2016

Coverage Status

Coverage increased (+0.006%) to 97.205% when pulling ef45761 on sjaensch:unmarshal_collection_attributeerror into ff9220e on Yelp:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.006%) to 97.205% when pulling ef45761 on sjaensch:unmarshal_collection_attributeerror into ff9220e on Yelp:master.

@zroadhouse-rmn
Copy link
Contributor

Looks good! Nice to see the handle_null_value get put to immediate use.

@sjaensch sjaensch merged commit 6772e82 into Yelp:master Aug 17, 2016
macisamuele added a commit to macisamuele/bravado-core that referenced this pull request Jan 11, 2019
macisamuele added a commit to macisamuele/bravado-core that referenced this pull request Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants