[GODRIVER-672] Remove bsonx dependency in driver/session Created: 03/Dec/18  Updated: 28/Oct/23  Resolved: 17/Mar/20

Status: Closed
Project: Go Driver
Component/s: Core API
Affects Version/s: None
Fix Version/s: 1.4.0

Type: Improvement Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The main code path for operation execution was updated to use bsoncore during the core API redesign. The big remaining use of bsonx.Doc is for session IDs in the session package. We should change session IDs to be stored as bson.Raw and add an ID method to the mongo.Session interface, something we could not do because it would have exposed bsonx through our stable API.



 Comments   
Comment by Githook User [ 17/Mar/20 ]

Author:

{'email': 'divjot.arora@10gen.com', 'name': 'Divjot Arora', 'username': 'divjotarora'}

Message: GODRIVER-672 Change session IDs to be stored as bson.Raw (#339)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/d080bd04bba78cdcf35d63ae29b8a172e77833c5

Comment by Divjot Arora (Inactive) [ 17/Mar/20 ]

https://github.com/mongodb/mongo-go-driver/pull/339

Generated at Thu Feb 08 08:34:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.