Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .singleOptional() to Mono and Flux #3317

Merged
merged 6 commits into from
Jan 18, 2023

Commits on Dec 9, 2022

  1. Add .singleOptional() to Mono and Flux

    Fixes reactor#3311
    
    Signed-off-by: Andreas Huber <andi@hubervonberg.ch>
    AndreasHuber-CH committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    f481dce View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2023

  1. Remove Flux.singleOptional()

    Andreas Huber committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    0c78545 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Updates after review comments

    Andreas Huber committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    3c61b60 View commit details
    Browse the repository at this point in the history
  2. Add marble file

    AndreasHuber-CH committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    2fc7130 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Remove count field and complete on first onNext call.

    This simplifies the MonoSingleOptional class.
    In case onNext is called multiple times (which should not occur for Mono anyway) extranoues elements are simply dropped rather than throwing IndexOutOfBoundsException.
    AndreasHuber-CH committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    e0c5803 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    455202e View commit details
    Browse the repository at this point in the history