seancribbs/ripple — comment on commit a1e40c57ddde3c138cb5f6bde6e5fa5573c6d8ff
File: riak-client/lib/riak/client.rb line 31
By aphyr:

That's a valid concern. Ill restore valid-options, with hash composition at each level.

Myron Marston wrote:

>I really dislike silent failure, and one of the easiest ways to get that is to fat-finger the name of a key in an options hash. For that reason, I tend to like libraries that validate my options hash so I get a clear error when I pass a bad option rather than confusing behavior later on.
>
>That said, I haven't looked through all that you're doing with the options hashes here so it may make things more complicated and coupled. I'll defer to your judgement on this.
>
>---
>Reply to this email directly or view it on GitHub:
>https://github.com/seancribbs/ripple/commit/a1e40c57ddde3c138cb5f6bde6e5fa5573c6d8ff#commitcomment-711423
>