Skip to content

Feature/msl 695 consistency database relation models#252

Open
maiknbm wants to merge 145 commits into
developmentfrom
feature/MSL-695_consistency_database_relation_models
Open

Feature/msl 695 consistency database relation models#252
maiknbm wants to merge 145 commits into
developmentfrom
feature/MSL-695_consistency_database_relation_models

Conversation

@maiknbm
Copy link
Copy Markdown
Collaborator

@maiknbm maiknbm commented Apr 23, 2026

steps to complete in order (based on on this confluence page)

  1. establish missing model relations
  2. importer in data repository should be of type hasMany. It should also be named importers since it can return multiple.
  3. create one test for an untested class and then discuss if others should follow
  4. apply return types to the relation functions following guides
  5. Existing and new method names should follow camelCase naming convention

@maiknbm maiknbm requested a review from lsamshuijzen April 23, 2026 08:20
@maiknbm
Copy link
Copy Markdown
Collaborator Author

maiknbm commented Apr 23, 2026

@lsamshuijzen Please review changes for step 1

Copy link
Copy Markdown
Collaborator

@lsamshuijzen lsamshuijzen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added relations in the models look good.

maiknbm added 29 commits May 19, 2026 21:07
@maiknbm
Copy link
Copy Markdown
Collaborator Author

maiknbm commented May 21, 2026

Hey @lsamshuijzen
please review again. Your comments were included. Although, maybe it makes sense to mirror the folder structure of the app\Models folder and place the survey related ones under tests\Feature\Models\Surveys\ . Currently, all tests are in tests\Feature\Models\ as requested.
Regarding your last point I was not sure how you meant it. For now each test-function in each model test file has the required setup individually.

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