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

Add toString() methods to Bson instances returned from static builder methods

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.0
    • Affects Version/s: 3.1.0
    • Component/s: BSON
    • Labels:
      None

      The objects returned by the Filters.* and Aggregates.* and other static builder methods are really hard to debug since they log opaquely. Please add toString() methods

      Builder classes to include:

      • Filters
      • Updates
      • Projections
      • Sorts
      • Aggregates
      • Accumulators

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            stickfigure Jeff Schnitzer
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: