JS Dgraph query builder

It’s pretty early on in development, but I would like to show off the query builder library I’ve been working on. https://github.com/AntoineSolutions/dgraph-query The goals of this project are to a: allow queries to be constructed out of reusable parts, 2: Provide a way to convert native or third party js objects into dgraph compatible arguments (like the js Date object), and c: Make it easy to safely inject arguments (or at least hard not to.) Please take a look and tell me what you think. We’re working on adding directives right now, and we hope to have 100% coverage of graphQL± when we get to it.

9 Likes