# TODO the self-referencing has some issues and multiple @relation directives per field is not yet supported
type Person {
    id: ID!
    firstName: String!
    lastName: String!
    father: Person @relation(name: &quot;Person:father::Person:children&quot;)
    mother: Person @relation(name: &quot;Person:mother::Person:children&quot;)
    children: [Person!]!
        @relation(name: &quot;Person:father::Person:children&quot;)
        @relation(name: &quot;Person:mother::Person:children&quot;)
}
</code></pr