Replies: 2 comments 4 replies
-
Hey @unolee I see that folks from Apollo have opted the middleware approach for supporting framework https://www.apollographql.com/docs/apollo-server/integrations/middleware/. I personally do not use GraphQL and hence not a great candidate to write a middleware for AdonisJS. Maybe someone from the community can look into creating one and I will be happy to assist. As far as I know @ammezie did some work on this for v4. |
Beta Was this translation helpful? Give feedback.
-
@unolee @thetutlage I created a working graphql sample, using Adonisjs v5 at https://github.com/bingalls/adonisql |
Beta Was this translation helpful? Give feedback.
-
Dear,
I hope it provides a guide on how to integrate with graphql.
I would like to extend current adonis services over to graphql also.
Or, I would like to build api and graphql at the same time.
I found some old articles;
https://scotch.io/tutorials/build-a-graphql-server-with-apollo-server-and-adonisjs
https://www.apollographql.com/docs/apollo-server/v1/servers/adonis/
However, I hope to get an update with adonisjs v5 and apollo v2.
Do you have any plan?
Best regards,
Uno
Beta Was this translation helpful? Give feedback.
All reactions