cypriss/mutations — pull request #56 by assembler (2014-02-06 08:48:26+00:00)
Title: allowing :discard_nils option to be passed to optional inputs

Sometimes i want optional attributes, but if passed, i want them to be required.

Example:

```ruby
Users::Update.run! id: 1, name: "Zoga", role: "admin" # would update both name and role
Users::Update.run! id: 1, role: "power_admin" # would update only role
Users::Update.run! id: 1, name: nil # would raise validation error
```

Both `:name` and `:role` are optional inputs. But if name is passed as nil, it shouldn't be discarded (current behavior).