-
Notifications
You must be signed in to change notification settings - Fork 171
Closed
Labels
Type/bugSomething isn't workingSomething isn't working
Description
Describe the bug
.net10 supports setting null and empty string values in json configuration provider.
Placeholder resolver breaks it.
Steps to reproduce
Steps to reproduce the behavior:
var opt = new ConfigurationBuilder()
.AddJsonFile("appsettings.json")
//.AddPlaceholderResolver() // uncomment this line and test fails
.Build()
.GetSection("Kestrel")
.Get<KestrelServerOptions>();
opt.Limits.MaxResponseBufferSize.Should().BeNull();"Kestrel": {
"Limits": {
"MaxResponseBufferSize": null
}
}Expected behavior
Same behavior as without the placeholder resolver.
Environment
- Steeltoe Version 4.1.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type/bugSomething isn't workingSomething isn't working