Closed kadevland closed 6 years ago
@kadevland in v4-alpha, you can turn off data sharing by setting the config value merge_parent_data
to false.
ok. may be add the posibilite for insert take parent data when config merge_parent_data is false
You could do that by simply passing in the data like:
$v->insert('template', $v->data());
I think that sharing the data between template is a security vulnerability. i think add like new feature or not default feature. exemple : $v->insert('...')->withContextData() / withData() / withParentData ...