-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Say we have following command:
final readonly class AssignInventoryCommand
{
public function __construct(
private string $employeeId,
#[Assert\Valid]
private InventoryDto $inventory,
) {
}
}And what we do is get employeeId from path parameter and InventoryDto from MapRequestPayload. It would make sense to provide the way of specifying custom name instead of inventory property path
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels