Java SDK v3.0.2 get operations misleading

There is a conflicting documentation between what Collection.get and ReactiveCollection.get do when document is missing. Collection,get throws an exception if document not found.
Reactive Collection documentation says it should return empty Mono. it doesn’t. it throws an exception. Previous sdk version returned empty Maybe.

1 Like

@ashernave can you please link the documentation that’s outdated? In SDK 3 yes both the blocking and reactive API should and will throw an exception (not return an empty mono)

1 Like

@ashernave thanks! We’ll get it fixed.

I would hate to see the original definition of the term ’ Java API’ be replaced by a newer definition, when there are perfectly good ways to separate them ( Java API vs REST API using Java ).