Product Roadmap 2018
Work In Progress
Support Open CypherSupport Gremlin- [ ] Support GraphQL spec
- [ ] Subscriptions
- [ ] Stronger Type System
- [ ] Backup
- [x] Python Driver
- [x] Simplify TLS setup
- [ ] Authentication (full control)
- [x] Jepsen test integration (http://jepsen.io/analyses/dgraph-1-0-2)
The GraphQL spec also includes specs like Union and enum types @manishrjain ?
Yeah, we'll try and support it as close to the spec as possible. I think GraphQL compatibility is needed by a lot of users.
Would anyone need support for JDBC driver?
With support for Cypher, Gremlin, and GraphQL as the first 3 items on the Roadmap (not sure if the roadmap is in order of priority), is the intention to simply appeal to a broader base of users who may already be familiar with one of them? Or is there a valid reason why a user would want to use all three (e.g. tradeoffs in performance, simplicity for certain types of queries, etc?)
@manishrjain What's your vision for Subscriptions? Do you intend on implementing the GraphQL Subscription spec or provide full reactivity that could enable things like @live queries?
Any ideas on what the API will look like?
Yeah, we'll try and support it as close to the spec as possible. I think GraphQL compatibility is needed by a lot of users.
That could be amazing! In my case I'm creating a Graphql api with Elixir, have the same schema in the app and the database can simplify the work a lot, I hope this get done soon :D
Is SPARQL already supported?
Great news! I'm really looking forward to Subscriptions. It would be a huge plus if dgraph could borrow some of the offline-first ideas from gun.js, extremely useful for PWAs.
"Support GraphQL spec" - So, Will Dgraph have an optional "virtual" Schema type just for GraphQL? @manishrjain
how about key cardinality? such as "Tom Hanks" has a predicate of type to multiple values "actor,director"
@manishrjain Can you tell when approximately Open Cypher support is implemented?
Graphcool Graphql IDE turns out to be opensource in november 2017. i believe that we could attach dgraph-js as a wrapper to graphcool IDE. Or Dgraph Team observe them as an example to create Dgraph support for GraphQL IDE like. https://youtu.be/WhYjSFKNhBA
See: https://github.com/graphcool https://github.com/graphcool/prisma https://github.com/graphcool/graphql-playground
Check it out!
@MichelDiz - thank you for mentioning Graphcool :-)
GraphQL Playground is an open source replacement for GraphiQL and in no way specific to Graphcool or Prisma.
We'd be happy to jump on a call if anybody from Dgraph want an introduction or help integrating it. In the future we'll be adding a plugin system as well as support for custom styling that should make it easier to tie into Dgraph.
@sorenbs Hey, I'm interested in the connector for Prisma. But I have no concept of programming with SCALA.
I think Prisma uses the prisma-binding, correct? If not, what are the principles for assembling a connector for the Prisma?
I think this would be enough to make Dgraph align with the graphcool tools.
Any update on how the top 2 items are going (Cypher and Gremlin) now that it is March?
We're a bit bogged down right now -- but expect to start the work on Cypher in early Q2.
@manishrjain
Would anyone need support for JDBC driver?
We will need to extract tabular data out of dgraph for machine learning models. I assume JDBC would be the best way?
It would be really nice to have scala driver in addition to others.
Do you have any plan to support subquery, i.e., something like

Dgraph supports sub-queries like these. We have the concept of query blocks. One query block's results can be used by another.
https://docs.dgraph.io/query-language/#multiple-query-blocks
@manishrjain I knew query blocks. Probably I was using wrong term, maybe "subgraph query". Or I was totally wrong. I was asking in slack how to query "Find all users who have type "user" and who have "visited" places "from" more than N distinct cities* , for example, more than 2 cities.."
Pawan suggested a solution like this and commented that I should do one more step in my own application. It seems the filtering step is not supported by dgraph currently. If I can do one more filter ontop of this result, then I do not need to have my application do that. { query(func: eq(type, "user")){ uid type visited @groupby(from) { count(uid) } } }
Another non-supported function is that it is impossible to return or count other scalar values. The reason is that in my case, name is used as external ID (unique) that identifies my application item. So in the current situation, I have to make another query to get the "name" and combine the two results.