[CXX-1156] Provide more user-friendly constructor or factory function for builder::core Created: 05/Dec/16  Updated: 01/Feb/23  Resolved: 18/Jan/23

Status: Closed
Project: C++ Driver
Component/s: API, BSON
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor - P4
Reporter: J Rassi Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: bgtrack
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CXX usability improvements
Quarter: FY24Q3

 Description   

The builder::core constructor currently takes a required boolean parameter. To improve readability of code which constructs builder::core objects, we should deprecate the existing constructor and either:

  • Provide a new constructor which takes an enumerated type parameter.
  • Provide static factory methods "builder::core::make_document()" and "builder::core::make_document()".


 Comments   
Comment by Rishabh Bisht [ 18/Jan/23 ]

After careful evaluation, we have decided to close this ticket. Please add a comment if the impact of this ticket increases.
Thanks.

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