Introduce CompositePropertySource constructor that accepts Iterable<PropertySource>
This commit introduces a new constructor for CompositePropertySource
that accepts a `String name` and an Iterable<PropertySource<?>>, which
allows a CompositePropertySource to be constructed from existing
property sources, such as an instance of MutablePropertySources.
Closes gh-34862
@ -47,13 +48,35 @@ public class CompositePropertySource extends EnumerablePropertySource<Object> {
@@ -47,13 +48,35 @@ public class CompositePropertySource extends EnumerablePropertySource<Object> {