Do we need a next generation of web frameworks to take benefit of dgraph?

With Dgraph you don’t need to create any GraphQL API by hand. It is all automated based on your Schema. Read https://graphql.dgraph.io/

You can implement Auth in your schema https://graphql.dgraph.io/doc/authorization/directive
BTW, Dgraph has a REST API for GraphQL+- (This is Dgraph’s lang, it has nothing to do with GraphQL itself). The Dgraph’s GraphQL API just uses HTTP methods as any GraphQL implementation. The blog post mention a way (using Postman) to do dev things in your server. It (Dgraph’s GraphQL) isn’t “REST” per se.

What Framework (Apollo? relay?) do you have in mind? I was a bit confused about this reading your question.

Cheers.

1 Like