[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: |
|
||||||||
| 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: |
| 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. |