Skip to content
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

Merged
merged 17 commits into from
Apr 3, 2024
Merged

SCRUM-3711 refactor #1486

merged 17 commits into from
Apr 3, 2024

Conversation

markquintontulloch
Copy link
Member

@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.

Base automatically changed from SCRUM-3711 to alpha April 1, 2024 20:03
@oblodgett
Copy link
Member

@markquintontulloch not sure which it should be for this conflict.

@oblodgett
Copy link
Member

@markquintontulloch was this a change in the code... org.hibernate.query.SemanticException: Could not resolve attribute 'resourceDescriptor.prefix' of 'org.alliancegenome.curation_api.model.entities.ResourceDescriptorPage' I don't remember seeing it.

@markquintontulloch
Copy link
Member Author

@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 oblodgett merged commit e1a492e into alpha Apr 3, 2024
5 checks passed
@oblodgett oblodgett deleted the SCRUM-3711_refactor branch April 3, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants