respect-validation/library/Message
Henrique Moody 82cb05b197
Handle siblings when creating messages
The way we display messages could have been better, and it took me a
while to realise that to make it better, I would need to handle the
siblings of a result before deciding whether we should render it.

Another issue was that rules like Key and Property had to create a
"dumb" parent just so we would display the messages correctly, and in
some cases, that wasn't even enough.

This commit introduces quite a few changes to how the library works,
making the messages much more straightforward.
2024-12-13 02:34:27 +01:00
..
Translator Upgrade translation mechanism 2024-12-05 15:42:40 +01:00
Formatter.php Handle siblings when creating messages 2024-12-13 02:34:27 +01:00
Renderer.php Upgrade translation mechanism 2024-12-05 15:42:40 +01:00
StandardFormatter.php Handle siblings when creating messages 2024-12-13 02:34:27 +01:00
StandardRenderer.php Rename "siblings" to "subsequent" 2024-12-13 02:16:16 +01:00
Template.php Rename "Validatable" to "Rule" 2024-12-05 19:32:14 +01:00
Translator.php Upgrade translation mechanism 2024-12-05 15:42:40 +01:00