Post #1074879
2026-03-23 18:23 UTC
🔥 HTTP request mapping
Valinor now provides a way to map an HTTP request to controller parameters or object properties.
This gives controllers a clean, type-safe signature without coupling to a framework's request object, while benefiting from the library's validation and error handling.
⤵️
Replies (1)
-
@Romm@mastodon.social 2026-03-23 18:24
This feature contains several parts: - Attributes to enforce route/query/body source - Mapping a whole query/body to single parameter - Mapping the HTTP request to an object - PSR-7 support - And of course, advanced types support and strict error handling with human-readable messages ⤵️