Jayphen
03/17/2019, 10:17 AMsubPlaces is self-referential. I would like to query places(depth: Int!) so that I can build a tree structure.
type Place {
id: ID! @unique
name: String!
things: [Thing]! @relation(name: "ThingsInPlace", onDelete: CASCADE)
subPlaces: [Place]
}Jayphen
03/17/2019, 11:26 AMdepth: Int! to the model and use that in my resolvers