Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Enhance constructor resolution with use of SpEL #1229

Closed
snicoll opened this issue Nov 8, 2021 · 0 comments
Closed

Enhance constructor resolution with use of SpEL #1229

snicoll opened this issue Nov 8, 2021 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@snicoll
Copy link
Contributor

snicoll commented Nov 8, 2021

Support of more projects point more and more in the direction of ConstructorResolver that we decided to not include, but rather have a lightweight version of it.

This time, it is a SpEL expression that hides a boolean. The target bean has four constructors and one argument of type String (the spel expression). Two out of the four constructors have a single argument, one is an Executor, and one is a boolean.

We could add a fallback that match the string constructor since, theoretically, the context can convert from one to another anyway.

@snicoll snicoll added type: enhancement A general enhancement theme: aot labels Nov 8, 2021
@snicoll snicoll added this to the 0.11.0-RC1 milestone Nov 8, 2021
@snicoll snicoll self-assigned this Nov 8, 2021
@snicoll snicoll closed this as completed in 4e204a9 Nov 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement A general enhancement
Development

No branches or pull requests

1 participant