Spring Config: Using @ConfigurationProperties
to inject maps does not work
#19366
Labels
Milestone
@ConfigurationProperties
to inject maps does not work
#19366
Describe the bug
Spring users can bind maps like this:
With application.properties:
If we try to use the same using the spring properties Quarkus extension, it throws the following exception:
Expected behavior
Not sure if this is very complex to mimic in the Quarkus extension (we should generate the equivalent object using the
@ConfigMapping
annotation.However, if this is too complex to support, we should document the current limitations in the Spring properties guide.
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: