[GODRIVER-931] Implement topology.legacyConnection type Created: 04/Apr/19  Updated: 28/Oct/23  Resolved: 26/Apr/19

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

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

Issue Links:
Gantt Dependency
has to be done after GODRIVER-930 Implement base driver.Connection type Closed
Epic Link: Core API

 Description   

Since the topology package will be migrated first, it needs to function with both the driver and driverlegacy packages. To enable this, we need a secondary connection type that implements the legacy functionality. This type is called legacyConnection and it handles the glue code necessary for driverlegacy to continue functioning. The type should be implemented as outlined above. The ConnectionLegacy method of Server returns this type, although the actual return type remains a
connection.Connection.



 Comments   
Comment by Githook User [ 26/Apr/19 ]

Author:

{'email': 'kris@mongodb.com', 'name': 'Kris Brandow', 'username': 'skriptble'}

Message: Implement the topology.connectionLegacy type

GODRIVER-931

Change-Id: I8173f062d1e7bf9197a56572bd23e14f230544d4
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/7e1461d5d3c1865b53729efee0327e8e246835de

Comment by Kristofer Brandow (Inactive) [ 15/Apr/19 ]

Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/451184.

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