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

Thoughts on a GraphQL extension? #6

Open
awatson1978 opened this issue Oct 17, 2016 · 0 comments
Open

Thoughts on a GraphQL extension? #6

awatson1978 opened this issue Oct 17, 2016 · 0 comments

Comments

@awatson1978
Copy link

Hi there!
You seem to have a solid handle on writing MongoDB extensions, so I have a question for you:

Over in Meteor land, we've been using a library called minimongo, which lets us have an isomorphic Mongo API on the server, client, database, and db shell. Well, the Meteor Development Group has started a new project called Apollo, which is GraphQL focused, and where all their future development is heading. So far, they've got GraphQL working on both the server and client, and various folks are writing GraphQL device drivers for their respective databases.

The point of introducing GraphQL was to abstract away from Mongo, so the Meteor stack could use lots of different databases.... SQL, Oracle, Redis, BigTable, Cassandra, etc.

So, okay... Meteor is evolving and not going to be quite so Mongo focused in the future. Not the end of the world, but we'd like to maintain both Mongo compatibility and the existing isomorphic API. The folks over at Compose.io have figured out how to query a Mongo database using GraphQL. So that gives us server, client, and database.

https://www.compose.com/articles/using-graphql-with-mongodb/

But not quite. We're missing GraphQL queries in the mongo shell (and various utilities like Robomongo, but that's another discussion entirely). So the question is: how difficult would it be to write a graphql extension for the mongo shell?

Any thoughts on this or where to begin?

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

No branches or pull requests

1 participant