Suppose I have 2 fluxes:
Flux<TypeA> typeAFlux = ...
Flux<TypeB> typeBFlux = ...
And I can join typeAFlux
w/ typeBFlux
via typeAFlux.fieldA = typeAFlux.fieldB
. How would I go about that while iterating over typeAFlux
as such:
typeAFlux.map(ele -> {
TypeB correspondTypeB = <Somehow get TypeB>;
ele.typeBRef = correspondingTypeB;
return ele;
})```