Skip to content

Conversation

thomasleese
Copy link
Contributor

This refactors the factories related to patient sessions, and therefore sessions and patients too, to simplify their use and improve the code readability.

The main changes are automatic creation of patient sessions if a session is passed to the patient when created, which simplifies a number of other factories; and the use of association in the factories.

@thomasleese thomasleese force-pushed the refactor-patient-session-factories branch from 4097a56 to 652e735 Compare September 5, 2024 14:49
@thomasleese thomasleese force-pushed the refactor-patient-session-factories branch from 652e735 to e5eab23 Compare September 5, 2024 15:05
@thomasleese thomasleese marked this pull request as ready for review September 5, 2024 16:11
@thomasleese thomasleese requested a review from a team as a code owner September 5, 2024 16:11
Base automatically changed from draftable-concern to main September 6, 2024 07:21
This refactors the factories related to patient sessions, and therefore
sessions and patients too, to simplify their use and improve the code
readability.

The main changes are automatic creation of patient sessions if a session
is passed to the patient when created, which simplifies a number of
other factories; and the use of association in the factories.
@thomasleese thomasleese force-pushed the refactor-patient-session-factories branch from e5eab23 to 2085aea Compare September 6, 2024 07:28
@thomasleese thomasleese enabled auto-merge (rebase) September 6, 2024 07:28
@tvararu tvararu temporarily deployed to mavis-pr-1709 September 6, 2024 07:28 Inactive
Copy link

sonarqubecloud bot commented Sep 6, 2024

@thomasleese thomasleese merged commit e179938 into main Sep 6, 2024
11 checks passed
@thomasleese thomasleese deleted the refactor-patient-session-factories branch September 6, 2024 07:32
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