Solution for Family tree like Schema

Hi people!!! I’m relatively new in FaunaDB, actually i’m working in a web-app that make use of family tree type schema, but when i try to implementing this on FaunaDB, run into the following issue:

Instance is not unique

Here is the Schema

type Person @collection(name: "Persons") {
  name: String!
  mom: Person @relation(name: "person_mom")
  dad: Person @relation(name: "person_dad")
}

What if the Person has more than one child?

Currently, we do not support this kind of self reference one-to-many or many-to-many relationships and that is why you see Instance is not unique error. It is on our roadmap to fix it.

Thanks for your answer Jay!! but… how i can tackle this situation?? another schema definition?

One-to-many and many-to-many self-relationships are not currently supported. But here is an article for how to work around that.