[release/6.0] Revert bind single elements to array in configuration binder (#59733)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Wed, 29 Sep 2021 19:22:24 +0000 (12:22 -0700)
committerGitHub <noreply@github.com>
Wed, 29 Sep 2021 19:22:24 +0000 (12:22 -0700)
commite013f14c5330375a18656dea8dca14e5602a3ae0
treee8f0c2e4faa3a944828ea60ae9769d59a9e55b05
parent9e0a252fd3c5e928973cd08bc1a94ca8dbe7cb84
[release/6.0] Revert bind single elements to array in configuration binder (#59733)

* Revert "Apply feedback from PR #57204 (#57872)"

This reverts commit e4a455f26a91932f5de398f0082be83cb9678c36.

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

This reverts commit 7f595ce3f4b79f21a14c43cd87041db90dcd6ad7.

Co-authored-by: Santiago Fernandez Madero <safern@microsoft.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