Simple Dgraph schema to GraphQL schema mapping doesn't work

Thank you very much for your example! You are right, with explicit typing it works. I tried with your example:

{
  "set": [
    {
      "dgraph.type" : "Person",
      "Person.name": "Karthic",
      "Person.age": 28,
      "Person.follows": {
        "dgraph.type": "Person",
        "Person.name": "Jessica",
        "Person.age": 31
      }
    }
  ]
}
curl localhost:8080/admin/schema -d '
type Person {
    name: String @search(by: [hash])
    age: Int
    follows: Person
}
'
query {
  queryPerson {
    name
    age
  }
}
{
  "data": {
    "queryPerson": [
      {
        "name": "Karthic",
        "age": 28
      },
      {
        "name": "Jessica",
        "age": 31
      }
    ]
  },
  "extensions": {
    "touched_uids": 6
  }
}

However, my actual database where I want to try graphql doesn’t have such typing. That’s why I tried to achieve the mapping using @dgraph as suggested by the documentation and also by you as a way to align a graphql schema to an existing drgaph schema.

So I feel there’s still something missing here …