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

Nested EachProperty with list=true gets not injected #10030

Open
grimmjo opened this issue Oct 26, 2023 · 0 comments
Open

Nested EachProperty with list=true gets not injected #10030

grimmjo opened this issue Oct 26, 2023 · 0 comments
Labels
type: bug Something isn't working

Comments

@grimmjo
Copy link
Contributor

grimmjo commented Oct 26, 2023

Expected Behavior

Nested @EachProperty(value="...", list = true) or @ConfigurationProperties should correctly be injected on any level nesting.

Actual Behaviour

The list holding the values is populated with null.
Even trying to use @ConfigurationInject did not work.

Steps To Reproduce

I've extended a test in mironaut-inject-java to reproduce the issue.
A patch for the test is attached.
Nested_EachProperty_with_list.zip

Environment Information

Example Application

No response

Version

4.1.9

@sdelamo sdelamo added the type: bug Something isn't working label Nov 10, 2023
@sdelamo sdelamo removed this from 4.1.7 Release Nov 26, 2023
@sdelamo sdelamo removed this from 4.2.1 Release Dec 4, 2023
@sdelamo sdelamo removed this from 4.3.0 Release Jan 26, 2024
@sdelamo sdelamo removed this from 4.4.0 Release Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
No open projects
Status: No status
Development

No branches or pull requests

2 participants