If you are using the community edition or enterprise edition of Dgraph, please list the version:
Dgraph Version
$ dgraph version
v21.03.1
Have you tried reproducing the issue with the latest release?
Yes
Steps to reproduce the issue (paste the query/schema if possible)
I have a local setup of Dgraph using the standalone version docker image and another container running RatelUI.
Added predicates through RatelUI using the set mutation and all data was added successfully. The predicates were typed, so for email for instance, the predicate is User.email.
Created a GraphQL Schema to match the predicate structure used in the first step. Schema created successfully along with the queries/mutations.
Expected behaviour and actual result.
Expected Behavior
When using queryUser, I should get all users added through GraphQL mutation addUser and users added through DQL in RatelUI.
At the same time, I should get all users using DQL
{
users(func: has()){
uid
name: User.email
}
}
Actual Results
Using the GraphQL query, queryUser, I only get users that were added using addUser mutation (expectation not met)
Using DQL, I actually get all the results whether added in RatelUI (DQL) or GraphQL (Expectation met reality)