Building a Native GraphQL Database: Challenges, Learnings and Future - Dgraph Blog

Very exciting! I’ve played around with it. Super intuitive.

Some questions:

  • Is there a roadmap/timeline for this to be production ready?
  • Are there plans to add support for a Password scalar? I’m imagining running a query like this for a login attempt:
type User {
  id: ID!
  email: String @search(by: [term])
  password: Password
}

{
  queryUser(filter: { email: { eq: "user@example.com" } }) {
    id
    password(check: "secret")
  }
}

If the check argument isn’t provided for the password field, an error is returned, and if it is, it returns either true or false.

  • Are there plans to implement the Apollo federation specification so you could drop it into an existing apollo server with a gateway? If so :scream: