[GODRIVER-793] Remove all public use of 'x' packages in the options package Created: 30/Jan/19  Updated: 28/Oct/23  Resolved: 19/Feb/19

Status: Closed
Project: Go Driver
Component/s: Options & Configuration
Affects Version/s: None
Fix Version/s: 1.0.0-rc1

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

Issue Links:
Depends
depends on GODRIVER-814 Make Topology, Server, and Connection... Closed
Issue split
split to GODRIVER-828 Create mongo.CommandError to wrap com... Closed

 Description   

Remove public use of 'x' packages in options package. For example:

  • TopologyOptions []topology.Option in ClientOptions
  • ConnString connstring.ConnString in ClientOptions
  • func (af *ArrayFilters) ToArray() (bsonx.Arr, error)
  • func (co *Collation) ToDocument() bsonx.Doc
  • func (u *UploadOptions) SetMetadata(doc bsonx.Doc) *UploadOptions

I don't know of an automated way to find all the places that have been overlooked. Just found these by manual inspection.



 Comments   
Comment by Githook User [ 19/Feb/19 ]

Author:

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

Message: Update options and remove exposed x in mongo

GODRIVER-793
GODRIVER-747
GODRIVER-727

Change-Id: I5e057598d5e425f6b9837af2a1d08a122b7f00fc
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/32946b1f8b9412a6a94e68ff789575327bb257cf

Comment by Kristofer Brandow (Inactive) [ 11/Feb/19 ]

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

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