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

Fix BSON type classes being called without new

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • bson-4.2.3
    • Affects Version/s: bson-4.2.1
    • Component/s: BSON

      Revert the change that bson types have to be constructed using "new", this can be done by checking the instanceof this in the constructor.

            Assignee:
            neal.beeken@mongodb.com Neal Beeken
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: