-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DiscoveryFailedException Slim Request Factory #190
Comments
@webmaster777 like you said i checked the CommonPsr17ClassesStrategy.php It references
I think the namespace is not correct anymore. Correct would be Am i right? Sorry for asking. |
are these Http\Factory\Slim* things a legacy thing and the current slim thing is Slim\Psr7\Factory*? if that is the case, it would be great if you can do a pull request to add the Slim\Psr7 classes in the appropriate places so that they can be discovered. |
I found the old repo for factories btw: https://github.com/http-interop/http-factory-slim It indeed predates the PSR-17 implementation of Slim. In order to maintain BC we should only add the new Slim implementations, right? |
* Add Slim's psr-17 factories closes #190 * Added Slim disco to changelog
PHP version: 7.3.23
Description
I am trying to get GitLabPHP/Client running with Slim Psr7 ( psr17 compliant ). It uses discovery.
The Docs say that slim framework should work:
Error Message:
It checks for
Http\Factory\Slim\RequestFactory
.I have checked my vendor dir but I only got
Slim\Psr7\Factory\RequestFactory
I don't know if it is a problem of slimphp/Slim-Psr7 or this repo. Or maybe my setup?
How to reproduce
test.php:
Possible Solution
Additional context
GitLabPHP/Client#586
The text was updated successfully, but these errors were encountered: