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:
parent
8f073ecd40
commit
4302b89d88
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue