[CXX-1174] Introduce make_document() and make_array() helpers, builder::core append style methods should return ref-to-this Created: 18/Dec/16  Updated: 19/Apr/17  Resolved: 24/Feb/17

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

Type: New Feature Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Samuel Rossi (Inactive)
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related

 Description   

Much like we do with the pipeline methods, we could easily make it possible to chain together method calls on the basic and core BSON builders if those methods returned a reference to *this. They all currently return void, so there is no harm in doing so and it would not break any existing callers.



 Comments   
Comment by Githook User [ 24/Feb/17 ]

Author:

{u'username': u'saghm', u'name': u'Saghm Rossi', u'email': u'saghmrossi@gmail.com'}

Message: CXX-1174 builder::core and builder::basic append style methods should return ref-to-this
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/b39c7c1af529d8728acbf307e5ec22a05f232db7

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