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

GraphQL support #365

Closed
neumino opened this issue Oct 12, 2015 · 7 comments
Closed

GraphQL support #365

neumino opened this issue Oct 12, 2015 · 7 comments
Labels

Comments

@neumino
Copy link
Owner

neumino commented Oct 12, 2015

So I spent some time this week end to look at GraphQL, and we could support a graphQL command that would spin up an http server that can take a graphQL query as an input and fetch the related documents.

The problem with the official library - https://github.com/graphql/graphql-js - is that you can't do server side joins. Facebook seems to consider it's ok because they cache everything...
So we would have to write our own implementation of graphql.

@rt2zz
Copy link

rt2zz commented Oct 13, 2015

fwiw I think app based joins would be an acceptable trade off for many apps

@ondreian
Copy link
Contributor

Is there anyway to return the relational links in the DB from normal queries that use joins?

Note: The links saved in the database are hidden from the result.

They are included in the feeds for a given query, and this would make app-based joins way easier in the short-term whilst this all shakes out.

@gyzerok
Copy link

gyzerok commented Feb 8, 2016

It seems like you just need to write custom executor. Parser and validator can be used directly from graphql-js

@rodrigopivi
Copy link

this would be a great feature, are we too far away from this?

If we can export schemas https://github.com/contra/thinky-export-schema
and generate schemas https://github.com/devknoll/graphql-schema

@fenos
Copy link

fenos commented May 31, 2016

Hi guys, I created a GraphQL implementation on top of thinky ORM. It has been challenging and fun to made up graphql-thinky and I also have some feedback for thinky which i'll open a ticket next days. The repository is very new, I wish a good community support to make it as production ready as possible. Please give a visit or two :) Feedbacks are very welcome

@doomedramen
Copy link
Collaborator

I feel like this is a little beyond the scope of the project, maybe a separate project for this?

@grantcarthew
Copy link
Collaborator

Agreed, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants