DEV Community

Discussion on: Using a TypeScript interface to define model properties in Objection.js

Collapse
 
mattcasey profile image
Matt Casey

I like your solution more than Hunter's because I am trying to follow Clean Architecture, and want my Objection models to reference domain entities, rather than the other direction. Thanks!

Collapse
 
tylerlwsmith profile image
Tyler Smith

Are you talking about Uncle Bob's book by the same name? I haven't read that one, do you recommend it?