Use nil for default options in client/cluster/etc.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Dev Exp
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Client defaults options to `Options::Redacted.new`. This is pretty useless as the behavior of an empty Redacted is the same as of an empty Hash. The doc string specifies that options are a Hash.

      A better way of handling options is to default them to nil in the signature and then in the method body default to an empty hash.

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: