[GODRIVER-979] Remove context.Context parameter to mongo.Connect Created: 18/Apr/19 Updated: 06/Dec/23 Resolved: 06/Dec/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Preston Vasquez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Epic Link: | Go Driver 2.0: Driver | ||||||||||||||||||||
| Documentation Changes: | Needed | ||||||||||||||||||||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? For v2, the mongo.Connect function will no longer accept a context. 2. Would you like the user to see examples of the syntax and/or executable code and its output? Examples in the documentation for v2 will have to avoid using context.Context when creating a connection to the db using the Go Driver. 3. Which versions of the driver/connector does this apply to? |
||||||||||||||||||||
| Description |
|
Deprecate the context.Context parameter to mongo.Client.Connect and mongo.Connect as it isn't used for anything and it's confusing. |
| Comments |
| Comment by Githook User [ 06/Dec/23 ] |
|
Author: {'name': 'Preston Vasquez', 'email': 'prestonvasquez@icloud.com', 'username': 'prestonvasquez'}Message: |