[GODRIVER-2693] Rename event constants to match event names Created: 15/Dec/22 Updated: 06/Nov/23 Resolved: 06/Nov/23 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.0 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Matt Dale | Assignee: | Matt Dale |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Go Driver 2.0: Driver |
| Backwards Compatibility: | Major Change |
| Documentation Changes: | Not Needed |
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
| Description |
|
Currently many of the event constant names in the event package do not match the actual string value (e.g. const ConnectionReturned = "ConnectionCheckedIn"). That can lead to confusion because the code and the printed values sometimes do not correspond in an obvious way. Definition of done:
|
| Comments |
| Comment by Githook User [ 06/Nov/23 ] |
|
Author: {'name': 'Ramit Mittal', 'email': 'commitemailoframit@protonmail.com', 'username': 'ramitmittal'}Message: |
| Comment by Matt Dale [ 06/Nov/23 ] |
|
Community PR: https://github.com/mongodb/mongo-go-driver/pull/1456 |