DEV Community

loading...

Discussion on: Implementing SOLID and the onion architecture in Node.js with TypeScript and InversifyJS

Collapse
donkeykong91 profile image
Daryl Occ

I think you forgot to add the Serializable interface to the Rectangle class in the Interface Segregation Principle section so that it can use the serialize() method.

Collapse
remojansen profile image
Remo H. Jansen Author

Thanks a lot for the heads up!

Collapse
donkeykong91 profile image
Daryl Occ

Yup yup!

Great article by the way! 👍

Forem Open with the Forem app