request-model
request-model copied to clipboard
Introduce request body modifiers
It would be nice to add transformers that should transform the request body before validation.
public function setRequestData(array $requestData): void
{
$this->requestData = $this->doTransform($requestData);
}
That would be convenient.