-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Add GraphQL for Laravel support if it is possible to match with OAS #113
Comments
curl -X GET http://laravel.loc/v1/article/1 -d '{"query": "query { echo(message: "Hello World") }" }' |
I was debating on using Laravel-JSON:API as my JSON:API server implementation until I found this amazing api-generator. https://github.com/Folkloreatelier/laravel-graphql is no longer maintained If we are talking about GraphQL and Laravel, I find Lighthouse-PHP as the best GraphQL Server implementation out there for Laravel. with just a So here is my proposal, let this generator generate the |
@arthurkushman, I have this obsession with generators. I would like to attempt this. I need two things from you:
|
Hi @Parables, public function register()
{
$this->app->register(RouteServiceProvider::class);
} All the other registration etc done by generator with special scripts in Make sure that u have been added into
Try to execute command (it have to be executed before, just in case):
Run once again:
|
In my case, the While dozing out, after countless efforts to understand why this is happening, I think I did run
And that did the magic 🪄 Woke up this morning to see these new files:
About the GraphQL support, I am determined to find a solution to it so be checking your emails for my PRs very soon. Thanks so much for creating this amazing package. Its the best so far among the rest |
https://github.com/Folkloreatelier/laravel-graphql
The text was updated successfully, but these errors were encountered: