Allow configuration binder to bind single elements to array (#58060)
authorMaryam Ariyan <maryam.ariyan@microsoft.com>
Wed, 25 Aug 2021 18:05:16 +0000 (14:05 -0400)
committerGitHub <noreply@github.com>
Wed, 25 Aug 2021 18:05:16 +0000 (11:05 -0700)
commitc8159b318e919854276c37ee102095a91f60e6c5
tree88a801d256eb510b233beef43d74b37c6a0c17da
parent28f00373f4d721c57af6c7b404560fcad737ec11
Allow configuration binder to bind single elements to array (#58060)

* Allow ConfigBinder to bind arrays to Singular elements (#57204)

* Apply feedback from PR #57204 (#57872)

Co-authored-by: vidommet <80355385+vidommet@users.noreply.github.com>
src/libraries/Microsoft.Extensions.Configuration.Binder/src/ConfigurationBinder.cs
src/libraries/Microsoft.Extensions.Configuration.Binder/tests/ConfigurationBinderTests.cs
src/libraries/Microsoft.Extensions.Configuration.Binder/tests/Microsoft.Extensions.Configuration.Binder.Tests.csproj