[JAVA-3563] Make BasicBsonList put method return the modified BasicBsonList object instead of the value inserted. Created: 18/Dec/19  Updated: 26/Dec/19  Resolved: 26/Dec/19

Status: Closed
Project: Java Driver
Component/s: BSON
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Ricardo Montes Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Comments   
Comment by Jeffrey Yemin [ 26/Dec/19 ]

While I see that it would be useful so that you could chain calls to the put method, it would be a backwards-breaking change. As such, we're going to have to reject this request.

Also, in the new CRUD API we generally prefer usage of the org.bson.Document class (with which you can just use any List implementation. So we're no longer looking to enhance BasicDBObject/BasicDBList.

Generated at Thu Feb 08 08:59:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.