feat(user): 昵称上限放宽到 20 字(与客户端/原型一致) #47
Reference in New Issue
Block a user
Delete Branch "feat/nickname-maxlength-20"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ProfileUpdateRequest.nickname 的 max_length 16 → 20,与客户端 take(20) 和
原型 settings.html(maxlength=20)对齐。修复 17–20 字昵称保存时后端返回 422、
客户端弹「更新失败,请重试」的问题。DB 列为 String(64),放得下,无需迁移。
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com