[JAVA-3885] Add a toBsonDocument() method without parameters to Bson Interface Created: 06/Nov/20 Updated: 28/Oct/23 Resolved: 20/Nov/20 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Builders |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kai Orend | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Minor Change |
| Description |
|
Allow to convert a Bson into a BsonDocument without having to provide any parameters. This could present minor backwards compatibility issues for any class that implements Bson and already defines a toBsonDocument() method whose behavior is incompatible with the one now defined in Bson |
| Comments |
| Comment by Githook User [ 19/Nov/20 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Add Bson#toBsonDocument() overload with a default implementation (#611)
|