Investigate NODE-3858 - bson-ext storing array as object

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • 1
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      NODE-3858 Description

      What problem are you facing?

      array field is being stored as an object in the db.

      What driver and relevant dependency versions are you using?

      "bson": "4.6.0",
      "bson-ext": "4.0.2",
      "mongodb": "4.2.2",
      "mongoose": "6.1.3",
      "snappy": "6.3.5"

      Steps to reproduce?

      attaching a js file to reproduce the issue.

        1. run2.js
          0.9 kB

            Assignee:
            Bailey Pearson
            Reporter:
            TPM Jira Automations Bot
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: