Closed pauxus closed 6 months ago
For inclusion in the collection factory, something like
MyApplication.Create.With { services { fromFolder(myFolder) } }
Where the folder might contain a number of scripts or properties files to create the instances. The method of the Factory class of Service would return Collection in this case:
Collection<Service> fromFolder(File folder) { folder.listFiles().collect { From(it) } }
This should also be possible for default factory methods
For inclusion in the collection factory, something like
Where the folder might contain a number of scripts or properties files to create the instances. The method of the Factory class of Service would return Collection in this case: