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

Change client feature flags from Symbols to internal strings

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 6.13.0
    • Affects Version/s: None
    • Component/s: None
    • 2
    • Not Needed
    • Hide

      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      Show
      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Use Case

      As a... Driver engineer
      I want... to change all internal feature flags from symbols to double-underscored strings
      So that... we can configure the driver for testing with regular json input

      User Experience

      • No change for users; internal change

      Dependencies

      • Changes to the following will affect Compass
        • Symbol.for('@@mdb.decorateDecryptionResult')
        • Symbol.for('@@mdb.decryptedKeys')

      Risks/Unknowns

      • None

      Acceptance Criteria

      Implementation Requirements

      • Replace the following Symbol featureĀ  flags with internal double-underscored properties
        • Symbol.for('@@mdb.skipPinOnConnect')
        • Symbol.for('@@mdb.enableMongoLonger')
        • Symbol.for('@@mdb.internalLoggerConfig')
        • Symbol.for('@@mdb.decorateDecryptionResult')
        • Symbol.for('@@mdb.decryptedKeys')

      Testing Requirements

      • Change instances of the symbol flags to the double-underscored string properties

      Documentation Requirements

      • None

      Follow Up Requirements

      • None

            Assignee:
            warren.james@mongodb.com Warren James
            Reporter:
            warren.james@mongodb.com Warren James
            Aditi Khare
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: