Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-84

Uniform option names

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.0
    • Affects Version/s: 1.4, 3.0.0
    • Component/s: None

      Is there a reason for having a few options using underscores while all others are camel cased?

      The underscored options I've found are:

      • Server.options.auto_reconnect
      • Db.options.native_parser
      • MongoClient.options.native_parser
      • ReplSet.options.rs_name

      It's not such a big deal, but fixing it would be quite easy. If you think it's worth, I'm willing to write a patch for it.

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            mkretschek Mathias Kretschek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: