Skip to content

Conversation

sibblegp
Copy link
Contributor

@sibblegp sibblegp commented Mar 7, 2013

Prior to this patch, zero integers and False booleans were being converted to None since both evaluate the origin if statement (it not obj) to True. This can screw up APIs expecting False values or an integer, not a null.

Signed-off-by: George Sibble gsibble@gmail.com

…ntegers to None

Prior to this patch, zero integers and False booleans were being converted to None since both evaluate the origin if statement (it not obj) to True.

Signed-off-by: George Sibble <gsibble@gmail.com>
mrjf pushed a commit that referenced this pull request Mar 7, 2013
Fix Object Type Detection
@mrjf mrjf merged commit d922946 into swagger-api:master Mar 7, 2013
@mrjf
Copy link
Contributor

mrjf commented Mar 7, 2013

Thanks George!

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.

2 participants