-
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.