Hi
I would like to validate only one field although the requestData has multiple ones.
I have thought
$user = $this->Users->patchEntity(
$user,
$this->request->getData(),
[
'fields' => ['key']
]
);
must work, but it doesnt - all fields will still be validated.
Whats wrong here?
Thanks,
Frank