reactor / reactor-kotlin-extensions

Reactor Kotlin Support
Apache License 2.0
139 stars 21 forks source link

`MathFluxExtensions#sumAsDouble` returns a `Mono<Float>` #32

Closed simonbasle closed 2 years ago

simonbasle commented 2 years ago

Since the introduction of the method in 1.1.5, it returns a Mono<Float> and uses sumFloat under the cover, basically making it an alias of sumAsFloat.

I would consider this as a bug and not a breaking change, it should be fixed asap to return a Mono<Double> as stated in the documentation, and call sumDouble.

kiwisincebirth commented 2 years ago

Happy to fix this issue, if you like.

kiwisincebirth commented 2 years ago

Please see PR. Think the bug in code was an oversight.