respect-validation/docs
Henrique Moody a3c197f600
Handle names via the Named rule
Because of how the validation engine works now [1], there's no reason to
keep adding names to each rule. Instead, create a single rule that
handles naming rules with a few other accessories. This change is not
necessarily simple, but it shrinks the `Rule` interface, and it's more
aligned with how the library works right now.

Personally, I think this API is much more straightforward than the
`setName()` method, as it's way more explicit about which rule we're
naming. Because of this change, the behaviour changed slightly, but it's
for the best.

Because of this change, I managed to remove a lot of code, but
unfortunately, it's quite a big-bang commit. It would be too complicated
to make it atomic since names are an intrinsic part of the library.

[1]: 238f2d506a
2024-12-26 23:10:19 +01:00
..
rules Handle names via the Named rule 2024-12-26 23:10:19 +01:00
01-installation.md Change documentation order 2024-02-04 16:11:57 +01:00
02-feature-guide.md Rename "Consecutive" to "Circuit" 2024-12-20 16:53:56 +01:00
03-handling-exceptions.md Fix grammar error in the "AllOf" rule 2024-12-20 17:06:53 +01:00
04-message-translation.md Upgrade translation mechanism 2024-12-05 15:42:40 +01:00
05-message-placeholder-conversion.md Improve the "Feature Guide" documentation 2024-12-05 00:21:34 +01:00
06-concrete-api.md Improve the "Feature Guide" documentation 2024-12-05 00:21:34 +01:00
07-custom-rules.md Rename "Validatable" to "Rule" 2024-12-05 19:32:14 +01:00
08-comparable-values.md Improve the "Feature Guide" documentation 2024-12-05 00:21:34 +01:00
09-list-of-rules-by-category.md Handle names via the Named rule 2024-12-26 23:10:19 +01:00
10-license.md Improve the "Feature Guide" documentation 2024-12-05 00:21:34 +01:00
index.md Improve the "Feature Guide" documentation 2024-12-05 00:21:34 +01:00