[GODRIVER-1490] Separate Connection String Parsing and Validation Created: 13/Feb/20  Updated: 28/Oct/23  Resolved: 02/Mar/20

Status: Closed
Project: Go Driver
Component/s: Internal
Affects Version/s: None
Fix Version/s: 1.4.0

Type: Task Priority: Minor - P4
Reporter: Tim Fogarty Assignee: Tim Fogarty
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The connection string's parser's parse() method does both parsing and some validation. Specifically these lines here: https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/connstring/connstring.go#L254-L266
 
I'm going to submit a PR to separate parsing and validation. 



 Comments   
Comment by Githook User [ 28/Feb/20 ]

Author:

{'username': 'tfogo', 'name': 'Tim Fogarty', 'email': 'tim.fogarty@mongodb.com'}

Message: GODRIVER-1490 Split parsing and validation logic (#309)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/6f3c9d10a6095244ff3effe99e410357c36b47f6

Comment by Tim Fogarty [ 19/Feb/20 ]

https://github.com/mongodb/mongo-go-driver/pull/309

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