Skip to content

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

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

Open
hauner opened this issue Oct 2, 2022 · 2 comments
Open

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

hauner opened this issue Oct 2, 2022 · 2 comments

Comments

@hauner
Copy link
Member

hauner commented Oct 2, 2022

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>.

@hauner hauner transferred this issue from openapi-processor/openapi-processor-core Nov 13, 2022
@maddingo
Copy link
Contributor

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

@hauner
Copy link
Member Author

hauner commented Feb 11, 2024

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants