[CXX-1447] Reduce use of deprecated methods in test files Created: 05/Oct/17  Updated: 28/Oct/23  Resolved: 07/Nov/17

Status: Closed
Project: C++ Driver
Component/s: API
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Matt Broadstone Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by CXX-1056 Add mechanism to disable deprecation ... Closed
Backwards Compatibility: Fully Compatible

 Description   

`BSONCXX_SUPPRESS_DEPRECATION_WARNINGS_BEGIN` was introduced to suppress deprecation warnings. Instead we should be first to dogfood our own deprecations. First we should remove the macro, and then subsequently change all instances of deprecated code usage to follow the new recommended forms.



 Comments   
Comment by Githook User [ 07/Nov/17 ]

Author:

{'name': 'Andrew Morrow', 'username': 'acmorrow', 'email': 'acm@mongodb.com'}

Message: CXX-1447 Deprecate things the right way
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/af18dfdd30715513867ba7a24687282c164b4e42

Comment by Derick Rethans [ 17/Oct/17 ]

The macro can't quite be removed. In a few places, we do need the deprecated methods around as to not break API for users. Everything that can be addressed is done through the PR for this issue: https://github.com/mongodb/mongo-cxx-driver/pull/592

Comment by Derick Rethans [ 06/Oct/17 ]

This also needs to be done on the b3.2 branch.

Generated at Wed Feb 07 22:02:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.