BUG: DQL doesn't connect nodes

The parent one, is a NEW person? If not so, the parent should have uid too.

{
    "set": [
        {
            "uid": "0x1"
            "Person.job": {
                "uid": "0x850ea4f"
            },
            "Person.is_adult": false,
            "Person.type": {
                "uid": "0x850f366"
            },
            "Person.name": "Test Name",
            "dgraph.type": "Person"
        }
    ]
}

If you don’t provide the UID on all levels. Dgraph will create new nodes.

Run this query

{
   q(func: has(Person.job)) {
    uid
     Person.job {
      uid
    }
    Person.is_adult
    Person.type {
      uid
    }
    Person.name
    dgraph.type
    }
}

You probably have a lot of duplicates right now.