I’m usin’ cakephp 3.6 & tryin’ to edit some entity fields before save it, so when I use pathchEntity to edit those fields:
$booking->set([
'status' => 1,
'deposit' => $this->request->getData('deposit')
]);
I got errors of entity validation before save it, so how I should do to edit those fields without gettin’ errors;
Thx.