You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@RestController
@RequestMapping("/values")
public class ValueController {
@Value("${values.text}")
String fieldUsingValue; // works
@Value("${values.list}")
String[] fieldUsingArray; // works
@Value("#{'${values.list}'.split(',')}")
List<String> fieldUsingList; // does not work
@Value("#{${values.map}}")
Map<String, String> fieldUsingMap; // does not work
// ...
}
Note the SpEL expressions I checked and that according to the Spring documentation should work.
This is the application properties I'm using:
To be honest, I'm not sure how complex is to make the SpEL engine to work using the Quarkus configuration engine.
If this is too complex, I guess we should note this limitation in the Spring Properties guide.
Actual behavior
No response
How to Reproduce?
No response
Output of uname -a or ver
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 or gradlew --version)
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Thanks for reporting, but this is not something we plan to support given the complexity involved in implementing it and the niche use case it addresses.
At best, we can print an error message mentioning this.
Describe the bug
Having this class:
Note the SpEL expressions I checked and that according to the Spring documentation should work.
This is the application properties I'm using:
Expected behavior
To be honest, I'm not sure how complex is to make the SpEL engine to work using the Quarkus configuration engine.
If this is too complex, I guess we should note this limitation 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: