Skip to content

Conversation

@sdeleuze
Copy link
Contributor

@sdeleuze sdeleuze commented Oct 3, 2018

In order to be able to leverage WebFlux configuration in a functional way, WebHttpHandlerBuilder and RouterFunctionMapping should leverage new ObjectProvider capabilities to get a sorted list of beans by type instead of using autowired containers.

@bclozel @jhoeller After a second look, it is not required to refactor DelegatingWebFluxConfiguration since in functional mode the autowired setter can be called externally using ObjectProvider capabilities + I don't think we could reach consistent design via a constructor approach.

@poutsma Are you ok with these changes?

Issue: SPR-17327

In order to be able to leverage WebFlux configuration in a functional
way, WebHttpHandlerBuilder and RouterFunctionMapping should leverage
new ObjectProvider capabilities to get a sorted list of beans by type
instead of using autowired containers.

Issue: SPR-17327
@sdeleuze sdeleuze requested a review from poutsma October 3, 2018 09:24
Copy link
Contributor

@poutsma poutsma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@sdeleuze
Copy link
Contributor Author

sdeleuze commented Oct 3, 2018

Merged via 3ff5731.

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

Successfully merging this pull request may close these issues.

2 participants