-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Empty show more show less
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.
- causes
-
NODE-1598 Deal with side-effect of ClientSession toBSON error
- Closed