techdivision / import

This is a library that provides generic functionalities for the implementation of imports. In addition to maximum performance and optimized memory consumption, Pacemaker can also be used to implement imports in distributed scenarios that place the highest demands on speed and stability.
https://pacemaker.techdivision.com
MIT License
128 stars 23 forks source link

Global service ID conflicts when m2if is used inside another Symfony app #166

Open adhocore opened 4 years ago

adhocore commented 4 years ago

Some service IDs like configuration, loggers, connection are used in global context: ref: https://github.com/techdivision/import/blob/15.x/symfony/Resources/config/services.xml

it would be best to have them namespaced like so: import.configuration, import.loggers, import.connection

to not break BC, we can alias them to their original IDs.

(PS: there can be more such service IDs than mentioned above)

wagnert commented 4 years ago

@adhocore You're right, this are technical debts we've to solve. I'll add this to the next release.