Join Slack
Powered by
Can I somehow declare I want all my types to have ...
# orm-help
c
cory
08/21/2018, 2:25 AM
Can I somehow declare I want all my types to have an ID and created/updatedAt available?
cory
08/21/2018, 4:01 AM
Never mind, it’s on the radar
https://github.com/prisma/prisma/issues/83
n
nilan
08/21/2018, 8:23 AM
All types can have an id field and `createdAt`/`updatedAt` already.
c
cory
08/21/2018, 4:19 PM
Yeah sorry, I think I was thinking of interfaces… Just a base interface. It’s definitely not a big deal.
Open in Slack
Previous
Next