[CXX-1538] Delete public bulk_write constructor Created: 28/Mar/18 Updated: 28/Oct/23 Resolved: 03/Jul/18 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | Evgeni Dobranov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | Simplify Bulk API | ||||||||
| Description |
|
collection::create_bulk_write uses a supported C Driver function. Creating a bulk_write directly with a public constructor is a second way to accomplish the same goal without additional value for users. It uses a deprecated C Driver function and therefore requires the C Driver to continue supporting a second way to accomplish the same goal without additional value. Let's make collection::create_bulk_write the sole way to build bulk_write instances. |
| Comments |
| Comment by Githook User [ 03/Jul/18 ] |
|
Author: {'username': 'edobranov', 'name': 'Evgeni Dobranov', 'email': 'evobranov@gmail.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 28/Mar/18 ] |
|
We should think about whether we want to deprecate it in 3.3 before removing in 3.4. If we opt to deprecate, we should use the deprecation tag technique: |