2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 05:23:13 +00:00
This commit is contained in:
2023-07-01 15:32:23 +03:00
parent 7ce0037e40
commit b6f5a8d9dd
12 changed files with 73 additions and 27 deletions

View File

@ -61,8 +61,10 @@ public class EsiurProxyRewrite : IModelFinalizingConvention
var cache = options.Store.GetById(entityType.ClrType, id);
if (cache != null)
if (cache != null && cache.Instance != null)
{
return cache;
}
if (Codec.ImplementsInterface(entityType.ClrType, typeof(IResource)))
{