[GODRIVER-2866] Only use basic Go types in externally-implementable interfaces Created: 05/Jun/23  Updated: 08/Jan/24

Status: Backlog
Project: Go Driver
Component/s: BSON
Affects Version/s: None
Fix Version/s: 2.0.0

Type: Improvement Priority: Unknown
Reporter: Matt Dale Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Go Driver 2.0 BSON
Quarter: FY24Q3
Backwards Compatibility: Major Change
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

If external projects want to implement BSON marshal/unmarshal support, they may not be able to without importing the Go Driver package. That frequently makes implementing BSON support a non-starter for library projects. Update those interfaces to not require importing the Go Driver to implement them.

Definition of done:

Open questions:

  • Should similar functions be changed to match the signature of the updated interfaces? Considerations:
  • Are there more interfaces that need to be modified?

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