Skip to content

Get(string key) throws KeyNotFoundException while Get(string key, Type type) overload does not with SqliteBlobCache #51

@gsgou

Description

@gsgou

reproduced with:
ReactiveMarbles.CacheDatabase.Sqlite3 v1.0.18
ReactiveMarbles.CacheDatabase.SystemTextJson v1.0.18

string someObject = "someObject";
await blobCache.InsertObject(cacheKey, someObject.ToEnumerable(), null);
var obj = await blobCache.GetObject<IEnumerable<string>>(cacheKey);
var res = await blobCache.Get(cacheKey, typeof(IEnumerable<string>)); // Ok
var res2 = await blobCache.Get(cacheKey); // throws KeyNotFoundException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions