Skip to content

Conversation

thomasleese
Copy link
Contributor

This refactors the ImmunisationImport and CohortList models to use a common CSVImportable concern which encapsulates the logic of both classes and ensure the behaviour is consistent across the two.

@thomasleese thomasleese marked this pull request as ready for review September 4, 2024 07:32
@thomasleese thomasleese requested a review from a team as a code owner September 4, 2024 07:32
@thomasleese thomasleese force-pushed the immunisation-import-csv branch from aa7018b to 7e3b287 Compare September 4, 2024 09:30
Base automatically changed from immunisation-import-csv to main September 4, 2024 09:39
These models are very similar so by aligning their functionality we can
extract the common code in to a concern.
This adds a concern for models which can be imported from a CSV file
which encapsulates the common logic and reduces the duplication. This
also helps to ensure that the functionality works the same across the
service.
@tvararu tvararu temporarily deployed to mavis-pr-1703 September 4, 2024 09:39 Inactive
Copy link

sonarqubecloud bot commented Sep 4, 2024

@thomasleese thomasleese merged commit 91e563d into main Sep 4, 2024
11 checks passed
@thomasleese thomasleese deleted the refactor-cohort-list branch September 4, 2024 09:43
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