Repository navigation
v0.1.1
💫 More flexible type handling
Better support for caching flows with flexible types.
Previously, doing this:
var data = (object)42;
cache.Set("foo", data);
cache.GetOrDefault<int>("foo");would not have resulted in getting back 42 .
Thanks to type inference the Set method call in the 2nd line in reality is a Set<object> and this, in addition to various internal details to support advanced features (fail-safe, etc), made it incompatible to transparently swich from one type to the other.
Now this scenario is fully supported 🎉
⚠️ Namespace change
The first and last namespace change: the general namespace changed from ZiggyCreatures.FusionCaching to ZiggyCreatures.Caching.Fusion.
The fix should be very easy: update the packages, compile, see where it fails and change a couple of usings, that's it.
Sorry for this hassle 🙏 , it will be the last time.
🚀 Performance
Optimized cpu and memory usage so that common scenarios will consume less resources.