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

Removed references to the data-client ServiceFactory #5496

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

psh
Copy link
Collaborator

@psh psh commented Jan 29, 2024

This PR introduces our own CommonsServiceFactory for creating Retrofit API service interfaces, allowing us to decouple from the data-client ServiceFactory implementation.

In another step of dead code removal, the wikiSite parameter was deleted from the AppAdaptor as it was unused, allowing a slightly cleaner implementation of the service factory on our side, managed by Dagger as a singleton.

This PR relates to the discussion in #5165

@nicolas-raoul nicolas-raoul merged commit ab9e57f into commons-app:main Jan 29, 2024
1 check passed
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.

None yet

2 participants