研究conf的迁移 #77

Open
opened 2024-12-05 16:41:05 +08:00 by zhao · 0 comments
Owner

大致的思路:

  • 配置文件添加版本号;
  • 读取配置时,先检查版本号,如果版本不符,运行对应的迁移脚本;
  • 迁移配置后,再使用 Pydantic 加载。
大致的思路: - 配置文件添加版本号; - 读取配置时,先检查版本号,如果版本不符,运行对应的迁移脚本; - 迁移配置后,再使用 Pydantic 加载。
zhao added the
Priority
Medium
Topic
Tool
labels 2024-12-05 16:41:05 +08:00
Sign in to join this conversation.
No description provided.