Guzzle PSR7 factory not auto-wired
Closed this issue · 1 comments
dkarlovi commented
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Branch? | master |
Pimcore installs guzzlehttp/psr7
, but doesn't wire it correctly. The bundle will now require the PSR18 (HTTP client) and PSR7 (factory) packages to be installed. As it stands, Pimcore requires Symfony HTTP client which gets wired correctly by Framework bundle. Nothing wires PSR7 factories correctly.
We can add wiring for guzzlehttp/psr7
if we find the class, like so
GuzzleHttp\Psr7\HttpFactory: ~
Psr\Http\Message\RequestFactoryInterface: '@GuzzleHttp\Psr7\HttpFactory'