Yelp / bravado-core

Other
109 stars 98 forks source link

marshal and unmarshal flow uses a flow specific handle_null_value function #342

Closed macisamuele closed 5 years ago

macisamuele commented 5 years ago

As agreed on #339 we should make sure that we have a single entrypoint to _decorators.handle_null_value as it is easy to forget setting the appropriate is_marshaling_operation flag.

The goal of this PR is to address this by using partials as unique usage of _handle_null_value in the different modules.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.1%) to 97.273% when pulling 5c579698b0e533f9f6eb99f9b0aaf8aaafa04f1e on macisamuele:maci-pr-339-follow-up into 8d3c5f1a36dee3862669261ad4cbc019181946a3 on Yelp:master.