How to not violate Open/Closed Principle when checking for type is needed
I am writing a back-end for a program that manages surveys in TypeScript but don’t know how to design my Survey and SurveyRepository class without violating the Open/Closed Principle (OCP)
How to not violate Open/Closed Principle when checking for type is needed
I am writing a back-end for a program that manages surveys in TypeScript but don’t know how to design my Survey and SurveyRepository class without violating the Open/Closed Principle (OCP)