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

Use DbTableAwareTrait in UserService. #3632

Merged

Conversation

demiankatz
Copy link
Member

This PR adjusts UserService to use DbTableAwareInterface/Trait instead of direct dependency injection and eliminates the associated custom factory. This will help eliminate circular dependencies by avoiding running the complex VuFind\Db\Row\UserFactory prematurely. After we complete the transition to Doctrine, much of this complexity will be eliminated and more explicit injection should be possible; in the meantime, though, this will make the migration easier.

@demiankatz demiankatz added the architecture pull requests that involve significant refactoring / architectural changes label Apr 30, 2024
@demiankatz demiankatz added this to the 10.0 milestone Apr 30, 2024
@demiankatz demiankatz removed the request for review from aleksip May 2, 2024 11:05
@demiankatz demiankatz merged commit 8e4291e into vufind-org:dev May 2, 2024
7 checks passed
@demiankatz demiankatz deleted the adjust-user-service-dependencies branch May 2, 2024 11:05
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