mwunsch / weary

A framework and DSL for building RESTful web service clients
MIT License
482 stars 23 forks source link

Don't remove parameters with empty values. #47

Closed adamcrown closed 9 years ago

adamcrown commented 9 years ago

Sometimes things need to be set to nil or an empty string.

In our case we're using Weary to update a central user database. Somebody who loses a job for instance has to have their title and department changed to nil or an empty string. But these params were being removed.

I can't think of any reason empty params should be removed and all the tests passed without the code that removes them so it seems like there's no reason to have that functionality.

pboling commented 9 years ago

:+1: