Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3885

Add a toBsonDocument() method without parameters to Bson Interface

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.0
    • Affects Version/s: None
    • Component/s: Builders
    • None
    • Minor Change

      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

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            kai.orend@mongodb.com Kai Orend
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: