Closed
Description
I have the following configuration properties
@ConfigurationProperties(prefix = "dummy")
public DummyProperties {
private Resource[] dummyFiles;
// getters and setters
}
And then in my application.properties
dummy.dummy-files=classpath*:/com/example/dummy/*.json
When this is done then DummyProperties#dummyFiles
contains a single ServletContextResource
.
If you change the property to classpath*:/com/example/dummy/single.json
then it works correctly.
I asked in the gitter channel and @snicoll said that you don't support this. However, I didn't understand if this is on purpose or it's just not implemented. If it is the first sorry for opening this issue and feel free to close it.