TableReaderV2 finally, caching pending, please migrate carefully

This commit is contained in:
rfi
2023-11-24 11:02:41 +07:00
parent 989e02aeaf
commit cf82daad00
6 changed files with 249 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ namespace AscNet.Table
}
types.Add("global::System.String");
}
resolvedTypes.Add(types.ToArray());
resolvedTypes.Add([.. types]);
}
Dictionary<string, string> properties = new();
@@ -152,11 +152,13 @@ namespace AscNet.Table{ns}
{
fails.Add(new
{
msg = ex.Message,
msg = ex.ToString(),
file = table.Path
});
}
}
// File.WriteAllText("./generator_fails.json", JsonConvert.SerializeObject(fails, Formatting.Indented));
}
public void Initialize(GeneratorInitializationContext context) { }