Closed pabloelcolombiano closed 2 years ago
@Erwane thanks for the hint. This is now implemented. Let me know if this looks good enough for you.
It's looks okay.
I don't like mutable array (&$data
) but it's working ;)
Thanks
Good catch, this was a rest of an early implementation. Fixed, merging this.
Thanks :+1:
My comment is in "pending" :/ It's about line 669 of DataCompiler. method
setSkippedSetters()
Maybe this method should have a
bool $merge = true
param to allow overwrite or merge skipped setters. LikeCake\Core\InstanceConfigTrait::setConfig()
(https://github.com/cakephp/cakephp/blob/9cb11c941566cae80a825889a2c007e1860abbd3/src/Core/InstanceConfigTrait.php#L44)