fix(arcadiaId): update pattern to allow larger numeric IDs

Updated the regex pattern for ArcadiaId to accept larger numeric values.
This commit is contained in:
Jérémy Munsch 2026-08-31 11:27:32 +02:00
parent 8f073ecd40
commit 4302b89d88
Signed by: forge-joniko
GPG key ID: D7EFE2F5CB6CC0E4
2 changed files with 2 additions and 2 deletions

View file

@ -729,7 +729,7 @@ components:
example: "Le Gaulois"
arcadiaId:
type: string
pattern: '^[1-9]\d{0,2}$'
pattern: '^[1-9]\d{0,}$'
description: Identifiant numérique amont Arcadia.
example: "1"
createdAt:

View file

@ -8,7 +8,7 @@ use Shared\DDD\Model\EntityId;
final readonly class ArcadiaId extends EntityId
{
private const string PATTERN = '/^[1-9]\d{0,2}$/';
private const string PATTERN = '/^[1-9]\d{0,}$/';
public function __construct(
string $value