Skip to content
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

Extension: GraphQL #656

Open
3 tasks done
dhmlau opened this issue Oct 17, 2017 · 16 comments
Open
3 tasks done

Extension: GraphQL #656

dhmlau opened this issue Oct 17, 2017 · 16 comments
Labels
epic Extensions GraphQL Issue related to GraphQL and oasgraph help wanted major

Comments

@dhmlau
Copy link
Member

dhmlau commented Oct 17, 2017

This issue is tracking progress on implementing native GraphQL layer making it easy to build GraphQL APIs in LoopBack.

Progress

Stability: ⚠️Experimental⚠️

What's next

We don't have any specific plans now, we are looking for your feedback! Please give the new extension a try and let us know what works for you well and what is missing.

@mpicard
Copy link

mpicard commented Oct 17, 2017

Looking forward to working on this! 😄

@dhmlau
Copy link
Member Author

dhmlau commented Oct 20, 2017

added @beeman. Welcome aboard!

@beeman
Copy link

beeman commented Oct 20, 2017

Thanks @dhmlau!

@raymondfeng
Copy link
Contributor

FYI: Here are prior arts that integrate GraphQL with LoopBack 3.x:

@mpicard
Copy link

mpicard commented Oct 21, 2017

I'd like to look at https://github.com/apollographql/apollo-server as well as incorporating the https://github.com/apollographql/apollo-tracing interface for metrics! Would be cool to enable that.

@dhmlau
Copy link
Member Author

dhmlau commented Oct 23, 2017

@mpicard , now that you've mentioned apollo, here is another reference too.
https://github.com/gramps-graphql/gramps-express

@mpicard
Copy link

mpicard commented Oct 24, 2017

@dhmlau very cool project! I wasn't aware of it. Thanks for sharing, the modular aspects of it look great and would be a great for lb!

@stale
Copy link

stale bot commented Jun 13, 2018

This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository. This issue will be closed within 30 days of being stale.

@stale stale bot added the stale label Jun 13, 2018
@dhmlau
Copy link
Member Author

dhmlau commented Jun 13, 2018

Still needed!
I wonder if there's any news on this extension. And would it be possible if we can use https://github.com/yahoohung/loopback-graphql-server (just an example) as a reference for implementation?

@stale stale bot removed the stale label Jun 13, 2018
@ghost
Copy link

ghost commented Aug 13, 2018

@dhmlau Any updates with this issue? My team is looking into using LB4 and GraphQL in production, so I'd be interested in providing a helping hand.

@dhmlau
Copy link
Member Author

dhmlau commented Aug 14, 2018

@peanutenthusiast, thanks for your interest! We’re looking at an approach that would convert your REST APIs into GraphQL APIs. Would that be something fit your need?
It is a bit different from https://github.com/yahoohung/loopback-graphql-server which takes LB artifacts to convert into GraphQL APIs. I can provide more details once we're (or close to) ready.

@ghost
Copy link

ghost commented Aug 15, 2018

@dhmlau Yes! This is exactly what my team is trying to do right now. Looking forward to further details.

@jjtang1
Copy link

jjtang1 commented Aug 15, 2018

@peanutenthusiast That is awesome to hear, would love you trying it out! Could you share what your team is trying to do just to help us understand the context? Thanks!

@ghost
Copy link

ghost commented Aug 15, 2018

@jjtang1 My team is interested in using LB4 as an orchestration layer API to aggregate needed data from different data sources (MongoDB, REST, SQLServer, etc.).

Right now, we're experimenting with a simple GraphQL LB4 server with an mssql connector, will update you and the team as we move further along the process.

@dhmlau dhmlau removed the non-DP3 label Aug 23, 2018
@dhmlau
Copy link
Member Author

dhmlau commented Sep 30, 2018

@peanutenthusiast, we're proud to present to you the oasgraph module that allows you to create GraphQL APIs within the same LB application.
http://v4.loopback.io/oasgraph.html

You can find more info on the integration here (docs will be on its way!): #1775

@bajtos
Copy link
Member

bajtos commented Dec 3, 2020

I updated issue description to better communicate the current status: we have an experimental version of GraphQL layer and looking for user feedback now.

You can learn more about the graphql extension in our docs: https://loopback.io/doc/en/lb4/GraphQL.html

@bajtos bajtos added the GraphQL Issue related to GraphQL and oasgraph label Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Extensions GraphQL Issue related to GraphQL and oasgraph help wanted major
Projects
None yet
Development

No branches or pull requests

6 participants