Skip to content

新增用户的备注字段缺少长度校验 #50

Open

Description

@EightyOliveira
Image

新增用户的备注字段长度超过了数据库最大字段,缺少长度校验

ps :
1 支持项目运行的python最低版本是多少?3.8 3.9
2 有考虑用官方库的做法吗 ?替换掉pydantic-validation-decorator。

Activity

  1. insistence commented on Oct 15, 2025

    @insistence
    Owner

    这个目前确实没有做严格限制,后面会整体检查下进行优化,python最低版本README文档有写≥3.9,pydantic-validation-decorator原本就是从这个项目抽离出去的,作为官方写法的补充,没有替换的计划

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions