This commit is contained in:
Andrea Cavalli 2021-03-11 15:47:19 +01:00
parent e72b2ca93c
commit 79ba4d8dd2

View File

@ -65,8 +65,8 @@ public interface DatabaseStageMap<T, U, US extends DatabaseStage<U>> extends Dat
default Flux<Entry<T, U>> getAllValues(@Nullable CompositeSnapshot snapshot) {
return this
.getAllStages(null)
.flatMap(entry -> entry.getValue().get(null).map(value -> Map.entry(entry.getKey(), value)));
.getAllStages(snapshot)
.flatMap(entry -> entry.getValue().get(snapshot).map(value -> Map.entry(entry.getKey(), value)));
}
default Mono<Void> setAllValues(Flux<Entry<T, U>> entries) {