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

Add `toBSON` method to `ClientSession`

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.0
    • Affects Version/s: None
    • Component/s: None
    • None

      When the driver erroneously attempts to serialize a ClientSession to the wire (often a result of some options error, or the like), we end up with a very unhelpful cyclic reference error. We should provide a toBSON method on ClientSession that throws a more useful error message.

            Assignee:
            katherine.walker@mongodb.com Katherine Walker (Inactive)
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: