Closed Andy3189 closed 6 months ago
model classes
- exception handling
Exception handling should be handled separately no?
There is also an argument to be made that the model classes should not be shared, so that service specific additional methods / fields are not impacted. This could be handled by making subclasses that inherit from the shared model. But that may also negatively impact services down the line.
model classes
- exception handling
Exception handling should be handled separately no?
we're going to need few of those exceptionhandlings in every service i'd say https://github.com/ADSP-EcoTrekker-Project/EcoTrekker/blob/main/rest-api/src/main/java/com/ecotrekker/restapi/exception/GlobalExceptionHandler.java