From 9294416c70bbf1c23503d7c4a165bdfe81e2864a Mon Sep 17 00:00:00 2001 From: Alex Santisteban Date: Fri, 5 Sep 2025 17:37:45 +0200 Subject: [PATCH] feat: allow title to have only one character --- craft_application/models/constraints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/craft_application/models/constraints.py b/craft_application/models/constraints.py index 40018ce9f..fa01a7880 100644 --- a/craft_application/models/constraints.py +++ b/craft_application/models/constraints.py @@ -125,7 +125,7 @@ def validate(value: str) -> str: ProjectTitle = Annotated[ str, pydantic.Field( - min_length=2, + min_length=1, max_length=40, title="Title", description="A human-readable title.",