Skip to content

convert Flux<String> to Mono<List<String>> #1

Open

Description

@hauner

webflux serialization has a problem to convert a List<String> to Flux<String>. Spring deserializes the list to a single string.

the processor could automatically detect multi wrapper with String type and generate Mono<List<String>> instead of Flux<String>.

Activity

  1. maddingo commented on Feb 11, 2024

    @maddingo
    Contributor

    Flux seems more correct than Mono<List>. do you have an example?

  2. hauner commented on Feb 11, 2024

    @hauner
    MemberAuthor

    Can't remember exactly, i guess it is about spring-projects/spring-framework#22662

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions