Support binding to immutable types #43662#67161
Support binding to immutable types #43662#67161SteveDunn wants to merge 11 commits intodotnet:mainfrom
Conversation
|
Tagging subscribers to this area: @dotnet/area-extensions-configuration Issue DetailsFixes #43662
|
src/libraries/Microsoft.Extensions.Configuration.Binder/src/ConfigurationBinder.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Configuration.Binder/src/ConfigurationBinder.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Configuration.Binder/tests/ConfigurationBinderTests.cs
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Extensions.Configuration.Binder/src/ConfigurationBinder.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Why is this only on NETCOREAPP?
There was a problem hiding this comment.
How about tests for readonly struct and record struct?
There was a problem hiding this comment.
What's the plan for addressing this?
I agree that this code doesn't make sense because these attributes can't be on parameters:
…y invoke `ConstructorInfo`
4bf28bc to
15bf080
Compare
15bf080 to
9d70502
Compare
9d70502 to
9bf910f
Compare
9bf910f to
e32f3b6
Compare
|
I had some git issues and somehow this PR was closed. Is there a way to reopen it? (cc @maryamariyan ) |
|
Apologies @davidfowl @eerhardt - It's been one of those evenings and I completely screwed up my git repo and this PR and somehow accidentally closed this PR. I created a new PR at #67258 |
Fixes #43662
Update
I completely screwed up my git repo and this PR, so it was easier and cleaner to create a new branch and a new PR. This is at #67258.