Misleading JavaDoc in MongoCollection.findOneAndUpdate methods

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: 5.5.1
    • Component/s: Documentation
    • None
    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      The JavaDoc for MongoCollection.findOneAndUpdate methods says in the return tag: 
      If no documents matched the query filter, then null will be returned. Actually, in such case, the driver returns an empty Publisher and no null value is emitted, which would probably be against the Reactive Streams spec.

            Assignee:
            Unassigned
            Reporter:
            Miłosz Tylenda
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: