is it possible to do a type that relate to himself...
# prisma-whats-new
t
is it possible to do a type that relate to himself in a recursive way?
i
I don’t know what you mean about doing this recursively, but, yes; you can do a 1:1 relationship on a specific type.
For example:
Copy code
type User {
  id: ID!
  createdAt: DateTime!
  updatedAt: DateTime!
  followers: [User!]! @relation(name: "UserOnUser")
  following: [User!]! @relation(name: "UserOnUser")
}