Is it possible to have 'directed edges' instead of...
# orm-help
a
Is it possible to have 'directed edges' instead of the symmetric one that the relation directive specifies?
Copy code
type Person @model {
  id: ID! @isUnique
  firstName: String!
  surName: String!
  gender: String
  dateOfBirth: DateTime
  mother: Person @relation(name: "Mother")
  father: Person @relation(name: "Father")
  children: [Person!]! @relation(name: "Children")
}
n
That's not possible in Graphcool. We introduced unidirectional relations in Prisma, which I can recommend to take a look at 🙂
a
Thanks @nilan I'll take a look