ytorbyk / magento2-geo-ip2

Magento 2 extension: Integrates MaxMind GeoIP2 DB into Magento 2.
MIT License
17 stars 7 forks source link

Register geoip2/geoip2 composer dependency as Magento lib #2

Open udovicic opened 7 years ago

udovicic commented 7 years ago

When Magento is compiled, ReaderFactory will fail to resolve parameters of GeoIp2\Database\Reader that is created through ObjectManager.

It is required to register composer dependency geoip2/geoip2 as Magento library in order for Area configuration aggregation process to sucesfully scan the lib and allow ObjectManager to work with it, even when compiled.