Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-210

warn on unidentified options

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • 2.0.6
    • library
    • Security Level: Public
    • None

    Description

      I don't know how strongly I feel about this, but it may be nice to warn (or have a strict mode to do so) on unknown options being passed in at the ops level. I did this once with [] and then did it again with operationTimeout (which seemed like an operation option, but it's not).

      At first, it wasn't clear to me that all of the options in the Bucket class are not options to be used from the functions in the API ref. Maybe it's me, but I bet there are others that will have the same issue. I guess that's a separate issue.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brett19 Brett Lawson
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty