-
Notifications
You must be signed in to change notification settings - Fork 20
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
Can we get Lumen Support for this package? #28
Comments
Hi a work around is given below:
Then create
So
File:
With these changes, you are good to go. Cheers, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Thank you for the awesome work!
I was trying this package with Lumen and found that the package won't work with the framework.
I found the following issues mainly:
config_path
is not available in Lumen. Hence the the\TheCodingMachine\GraphQLite\Laravel\Providers\GraphQLiteServiceProvider::boot()
method will fail.web
middleware available in the Lumen. Since the routes definition in the package depends on theweb
middleware, it will gracefully fail at the moment.Illuminate\Contracts\Foundation\Application
will again become a roadblock in the\TheCodingMachine\GraphQLite\Laravel\Providers\GraphQLiteServiceProvider::register()
method. This is because Lumen uses different Application instance (Laravel\Lumen\Application
).I would appreciate any kind of help on this. Meanwhile, I will provide the nasty workaround for all these problems I faced below.
PS: I am using Lumen version
^8.0
.The text was updated successfully, but these errors were encountered: