[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: CDRIVER-2492 remove example refs from docs
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/19c6a1b2eed2e17244ef87c74682cb215e64ce71

Comment by Githook User [ 15/Jun/18 ]

Author:

{'username': 'edobranov', 'name': 'Evgeni Dobranov', 'email': 'evobranov@gmail.com'}

Message: CDRIVER-2492 fix ex transaction and remove matcher
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/d8ef0f1393e3b7a894c0d65706c0d3ae51603259

Comment by Githook User [ 15/Jun/18 ]

Author:

{'username': 'edobranov', 'name': 'Evgeni Dobranov', 'email': 'evobranov@gmail.com'}

Message: CDRIVER-2492 init clients in examples with uri_t
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/ac813000e58734ae293a23456a786fbde62bc8f3

Comment by Kevin Albertson [ 06/Jun/18 ]

This should be a change to files under src/libmongoc/examples.

Generated at Wed Feb 07 21:15:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.