bson-ext storing array as object

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: EJSON
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              Unassigned
              Reporter:
              Kunal Khandelwal
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: