Skip to content

Nested map binds to null in @ConfigurationProperties #9801

Closed
@dsyer

Description

@dsyer

It's this line here. Test case:
https://github.com/spring-projects/spring-boot-issues/tree/master/gh-9801.

The original problem we had in Spring Cloud Config was probably a poor design (we didn't need infinite depth in that case), but if you needed to configure a tree of arbitrary depth, this "feature" would prevent you from doing so (and give you a big head scratcher about why it was failing).

Metadata

Metadata

Assignees

Labels

theme: config-dataIssues related to the configuration themetype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions