Unique indexes for DQL. If I’ve created a schema using graphql and specified that a specific field is unique, e.g. slug: String! @id, then it shouldn’t be possible to create a new node of that dgraph.type with duplicate value assigned to that field/predicate.
Would be happy if Dgraph team announced that they are working on an offline-sync solution for mobile. What would make sense to me is to create a fork of MongoDB’s (Apache-licensed) Realm database, and then create some extensions for it so it can sync directly Dgraph Cloud. The only realistic alternative right now seems to be AWS App Sync which is super complex and involves creating a dedicated graphql API just for the mobile clients.