You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When encapsulating a return using Poly.Outcome from the resilience framework in hybridcache, the Result return is always null. MemoryCache returns the correct response.
Description
When encapsulating a return using Poly.Outcome from the resilience framework in hybridcache, the Result return is always null. MemoryCache returns the correct response.
Reproduction Steps
Expected behavior
hybridTest.Result should read "Test"
memoryTest.Result should read "Test"
Actual behavior
hybridTest.Result is null
memoryTest.Result is "Test"
Regression?
No response
Known Workarounds
Not necessarily a workaround, but dropping the Poly.Outcome wrapping i.e:
Gives hybirdTest == "Test", but you are missing the Outcome wrapping
Configuration
.Net 9.0.100
"Microsoft.Extensions.Caching.Hybrid" Version="9.0.0-preview.9.24507.7"
"Microsoft.Extensions.Caching.Memory" Version="9.0.0"
"Microsoft.Extensions.Resilience" Version="9.0.0"
Macbook Pro, Apple M1 Max, Sequoia 15.1.1
Other information
No response
The text was updated successfully, but these errors were encountered: