tuupola / http-factory

Lightweight autodiscovering PSR-17 HTTP factories
MIT License
17 stars 6 forks source link

Add support for Slim\Psr7\Request and Slim\Psr7\Response (Slim 4.0.0 Beta) #9

Closed wernerm closed 5 years ago

wernerm commented 5 years ago

The current class detection implementation does not work with Slim 4.0.0 Beta.

Detection needs to be added for Slim\Psr7\Response (Slim 4) in addition to the current Slim\Http\Response (Slim 3).

Adding additional support for Slim\Psr7\Request and Slim\Psr7\Response would enable other libraries, like tuupola/slim-basic-auth to work with Slim 4.0.0 Beta while maintaining backward compatibility with Slim 3.

dakujem commented 5 years ago

Stumbled upon this too.

dakujem commented 5 years ago

@wernerm Solved in v1.1.