-
-
Notifications
You must be signed in to change notification settings - Fork 283
Closed
Labels
Description
Describe the bug 🐞
The documentation for InvalidateAll states that the method Invalidates all entries in the cache (i.e. clear it). (see
Akavache/src/Akavache.Core/IBlobCache.cs
Line 235 in 98baa39
| /// Invalidate all entries in the cache (i.e. clear it). Note that |
However, the implementation only removes entries where the TypeName is null:
var entries = sql.Table<CacheEntry>().Where(x => x.TypeName == null).ToList();
This is not clear from the documentation and I would expect all cache entries to be removed.
Step to reproduce
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Reproduction repository
https://github.com/reactiveui/ReactiveUI
Expected behavior
The cache should be cleared completely.
Screenshots 🖼️
No response
IDE
No response
Operating system
No response
Version
No response
Device
No response
ReactiveUI Version
No response
Additional information ℹ️
No response
Syed-RI and ahoke-cr