Bson instances returned from Filters, Updates, and Aggregates methods should implement equals() or hashCode()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.11.0
    • Affects Version/s: 3.0.2
    • Component/s: Builders
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Filter implementations in com.mongodb.client.model.Filters from the 3.0.X Java driver do not implement the equals() method. This is causing great difficulty unit testing the data layer since you can't compare a Filter Bson object with an expected value.

            Assignee:
            John Stewart (Inactive)
            Reporter:
            Blake Bauman
            None
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: