Open
Description
I'm seeing that if I have some global data that gets merged with pattern specific data that it is preserving far too much of the global data when it should of been overwritten by the local data.
It happens using the Data::getPatternSpecificData
function and merges the data at PatternLab/Data.php:262
using array_replace_recursive()
.
I've broken it down to a simple example you can see here: https://repl.it/qOH/171
Is this intentional? Thoughts on fixes or workarounds @pattern-lab/drupal ?