fix: IDeserializer并非线程安全

This commit is contained in:
2024-01-23 14:33:35 +08:00
parent 800f439564
commit 66ecaa4c90
3 changed files with 63 additions and 22 deletions

View File

@@ -4,6 +4,8 @@ public class BlogEssay
{
public required string Title { get; init; }
public required string FileName { get; init; }
public required DateTime PublishTime { get; init; }
public List<string> Tags { get; } = [];

View File

@@ -6,5 +6,5 @@ public class MarkdownMetadata
public DateTime? Date { get; set; }
public List<string> Tags { get; set; } = [];
public List<string>? Tags { get; set; }
}