Steeltoe icon indicating copy to clipboard operation
Steeltoe copied to clipboard

PlaceholderResolver does not respect updates to configuration sources

Open hananiel opened this issue 3 years ago • 0 comments

With the latest version of .NET6 runtime (6.0.201) it appears there is change to the implementation of IConfiguration. Previously on this line it would return the actual placeholder value which would be resolved from the current sources.

But with the latest version it appears to be cached - so the previous value is returned instead of what it should after any changes to configuration sources.

Makes this test fail: https://github.com/SteeltoeOSS/Steeltoe/blob/8e9686587844f86b40135cbe73d6d193f0c4bcb5/src/Configuration/test/PlaceholderBase.Test/PlaceholderResolverProviderTest.cs#L288

hananiel avatar Mar 11 '22 21:03 hananiel