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

Migrate more methods to ResourceService. #3708

Merged
merged 4 commits into from
May 29, 2024

Conversation

demiankatz
Copy link
Member

This PR refactors some "low-hanging fruit" to the ResourceService, backporting some #2233 changes with minor modifications. Some of the other resource work in #2233 likely needs more significant redesign/reorganization, but it seems helpful to do some of the easy parts first to reduce the scope of the more complex parts.

@demiankatz demiankatz added the architecture pull requests that involve significant refactoring / architectural changes label May 26, 2024
@demiankatz demiankatz added this to the 10.0 milestone May 26, 2024
@@ -52,4 +52,29 @@ interface ResourceServiceInterface extends DbServiceInterface
* @return ?ResourceEntityInterface
*/
public function getResourceById($id): ?ResourceEntityInterface;
Copy link
Contributor

Choose a reason for hiding this comment

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

int $id

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed!

@demiankatz demiankatz removed the request for review from EreMaijala May 29, 2024 19:18
@demiankatz demiankatz merged commit 6e31e40 into vufind-org:dev May 29, 2024
7 checks passed
@demiankatz demiankatz deleted the improve-resource-service branch May 29, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture pull requests that involve significant refactoring / architectural changes
Projects
None yet
2 participants