-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCRUM-3711 refactor #1486
SCRUM-3711 refactor #1486
Conversation
Refactor to remove some classes SCRUM-3711.2
@markquintontulloch not sure which it should be for this conflict. |
@markquintontulloch was this a change in the code... |
@oblodgett No, that's been there a while. I keep meaning to address it as presumably that means we would get a 500 error rather than a 400. |
@oblodgett There's almost certainly a cleaner way of doing this. The complication is that not all annotation service classes inherit from the same base service class. The AGMDiseaseAnnotationService, AlleleDiseaseAnnotationService, and GeneDiseaseAnnotationService classes all inherited from BaseDTOCrudService, whereas DiseaseAnnotationService and all the phenotype annotation service classes inherit from BaseEntityCrudService. No matter how I try to refactor I always end up with duplicate methods somewhere or unimplemented methods in multiple classes. There's probably something really basic that I'm missing though.