Loopback: GraphQL transport

Created on 27 Nov 2015  路  41Comments  路  Source: strongloop/loopback

Make it easy to expose GrapQL APIs in addition (or instead of) traditional REST API.

See https://github.com/facebook/graphql/issues/3

@raymondfeng could you please share the result of your discussion with @leebyron and what are the next steps we need to take in order to make this happen?

feature major

Most helpful comment

Guys there are _reactions_ now in Github. Lets use them instead of a new comment for +1

All 41 comments

@leebyron You have locked facebook/graphql#3 for collaborators only. Would you mind adding a comment linking to this new issue, so that people can find the place where the discussion is continuing?

I'm interested in this too...

馃憤

+1 Any updates?

:+1:

Very interested in having graphql support

https://github.com/RisingStack/graffiti looks like a promisig project. If an adapter could be written between this and the Loopback model layer, then you could just use it as an express plugin.

+1

:+1:

Would love to see GraphQL support in loopback!

+1

:+1:

:+1:

+1

+1 any updates on progress?

Love to see graphql support

+1

:+1:

:+1:

Guys there are _reactions_ now in Github. Lets use them instead of a new comment for +1

:+1:

:+1:

any news about this functionality ? would be nice if is working or not in this feature.

馃憤

+1

+1

+1

does it need a change to all datasources or a transmission layer of graphql query to json?

@shSina Transmission layer is enough. You can even resolve from existing rest end points. Wouldn't be a huge task to make something basic.

@mraak I'm thinking of the way we can manage ACL inside transmission layer, we can check the request token on all requested relations before transmission and handling the errors... ,
and I should test whether it's possible to override user predefined relations scope (in json) in js dynamically to separate the effect of graphQL endpoint from REST one or not.

馃憤

+1

馃憤馃徎

Anyone feels like checking this and providing feedback? It is still in infancy.
https://github.com/Tallyb/loopback-graphql

Any news on this?

any Updates?

+100000 on this

This is another option based on @Tallyb's project https://github.com/BlueEastCode/loopback-graphql-relay

Has there been any progress on this?

Any progress? 馃檪

Was this page helpful?
0 / 5 - 0 ratings