[CXX-2132] Remove builder::list in favor of builder::document and builder::array Created: 12/Nov/20 Updated: 28/Oct/23 Resolved: 23/Mar/21 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.0, 3.7.0-beta1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Clyde Bazile III (Inactive) | Assignee: | Clyde Bazile III (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
It's less error-prone to force users to explicitly state whether they expect a document or array as opposed to doing type deduction on their behave. It could also be faster if we forgo the initial check to test whether the given initializer list is a valid document. |
| Comments |
| Comment by Clyde Bazile III (Inactive) [ 11/Jan/21 ] |