Skip to content

[Backend] - 316 repository interfaces refactor - #339

Merged
brieromb merged 13 commits into
developmentfrom
316-repository-interfaces-refactor
Mar 30, 2025
Merged

[Backend] - 316 repository interfaces refactor#339
brieromb merged 13 commits into
developmentfrom
316-repository-interfaces-refactor

Conversation

@brieromb

Copy link
Copy Markdown
Contributor

The only change that was really made is the naming of the methods in the repository interfaces.
They are now more consistent and can be inherited more easily.

I changed the method names so that they can more easily be inherited. For example I changed studentRepository.createStudent(...) to studentRepository.create(...) So that repositories could inherit the create method.

Also there was a mix of deleteById and delete methods, which are actually the same. I changed all the deleteById to delete for consistency.

@brentjan brentjan changed the title 316 repository interfaces refactor [Backend] - 316 repository interfaces refactor Mar 23, 2025
@brieromb

Copy link
Copy Markdown
Contributor Author

btw the tests only fail because of the linter, how can I fix these pretty-issues?

@brieromb

Copy link
Copy Markdown
Contributor Author

@Adrien-VL is it okay that this is merged first, and then I make another branch from development to edit the submission repository like you asked in discord?

@LambrechtMaarten LambrechtMaarten left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good!

@thomasdejaeghere thomasdejaeghere added the enhancement New feature or request label Mar 26, 2025
@Adrien-VL
Adrien-VL force-pushed the 316-repository-interfaces-refactor branch from 0897b44 to dee7c6d Compare March 29, 2025 14:30
@brieromb
brieromb merged commit 13ff40c into development Mar 30, 2025
@bramcomyn
bramcomyn deleted the 316-repository-interfaces-refactor branch April 2, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants