We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a50a2a6 commit 428f85dCopy full SHA for 428f85d
Magic.IndexedDb/Helpers/SchemaHelper.cs
@@ -79,6 +79,8 @@ public static List<StoreSchema> GetAllSchemas(string databaseName = null)
79
/// </summary>
80
public static StoreSchema GetStoreSchema(Type type)
81
{
82
+ PropertyMappingCache.EnsureTypeIsCached(type);
83
+
84
if (!_schemaCache.TryGetValue(type, out var schemaAttribute) || schemaAttribute == null)
85
throw new InvalidOperationException($"Type {type.Name} does not have a [MagicTable] attribute.");
86
0 commit comments