Is it possible to have a generics-like/inheritance...
# orm-help
m
Is it possible to have a generics-like/inheritance model attribution in the
schema.prisma
? Like:
Copy code
model User {
  name   String
  email  String
}

model LegalPerson {
  @@inherit(User)

  socialNumber   String
}

model Company {
  @@inherit(User)

  address   Address
}
And then have nexus output something like
t.crud.Users()
?
r
m
Yeah I figured that. I'm changing the database to help me a little with that. Thanks!