[CDRIVER-2492] Only use mongoc_client_new_from_uri and mongoc_uri_new_with_error in examples Created: 05/Feb/18 Updated: 28/Oct/23 Resolved: 15/Jun/18 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | docs, libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.11.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Evgeni Dobranov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Description |
|
Suggestion from matt.broadstone - show safer style of initializing a mongoc_client_t, which is more likely to encourage users to check errors in URI parsing or from using unsupported URI options for their build. |
| Comments |
| Comment by Githook User [ 15/Jun/18 ] |
|
Author: {'username': 'kevinAlbs', 'name': 'Kevin Albertson', 'email': 'kevin.albertson@10gen.com'}Message: |
| Comment by Githook User [ 15/Jun/18 ] |
|
Author: {'username': 'edobranov', 'name': 'Evgeni Dobranov', 'email': 'evobranov@gmail.com'}Message: |
| Comment by Githook User [ 15/Jun/18 ] |
|
Author: {'username': 'edobranov', 'name': 'Evgeni Dobranov', 'email': 'evobranov@gmail.com'}Message: |
| Comment by Kevin Albertson [ 06/Jun/18 ] |
|
This should be a change to files under src/libmongoc/examples. |