Process of merging datasource configuration from all bundles is useless
chives opened this issue · comments
All data read from several .yml files is merged using simple array_merge
so only the first level of array keys are merged. In case of datasource configuration it means that all fields from previous files will be overwritten by subsequent ones, because they exists under the key 'fields'
at the root of .yml file. One possible solution is to use array_merge_recursive
but keep in mind that values from numeric keys will be appended to those defined in previous files.