Skip to content

Commit 7f3111c

Browse files
committed
chore: fix dead link
1 parent 628d9c3 commit 7f3111c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Web/Documentation/content/main/2-tempest-in-depth/02-validation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Validation
33
---
44

5-
Validation with Tempest is done by taking an array of raw input data, and validating whether that array of data is valid against a class. While validation and [data mapping](/main/framework/validation) often work together, the two are separate components and can also be used separately.
5+
Validation with Tempest is done by taking an array of raw input data, and validating whether that array of data is valid against a class. While validation and [data mapping](./01-mapper) often work together, the two are separate components and can also be used separately.
66

77
Here's an object that can be validated:
88

@@ -51,13 +51,13 @@ final class Book
5151

5252
#[NotEmpty]
5353
public string $description;
54-
54+
5555
#[DateTimeFormat('Y-m-d')]
5656
public ?DateTimeImmutable $publishedAt = null;
5757
}
5858
```
5959

60-
A list of all available validation rules can be found on [GitHub](https://github.com/tempestphp/tempest-framework/tree/main/src/Tempest/Validation/src/Rules).
60+
A list of all available validation rules can be found on [GitHub](https://github.com/tempestphp/tempest-framework/tree/main/src/Tempest/Validation/src/Rules).
6161

6262
## Skipping Validation
6363

0 commit comments

Comments
 (0)