Skip to content

service: Simplify injection of dependencies for servers

Patrick Steinhardt requested to merge pks-gitaly-service-dependencies into master

While we already have a service.Dependencies type around for quite a long time, we still pass in dependencies explicitly when constructing the actual server. This makes it harder than necessary to make a server require more dependencies as you will have to adjust all callsites where the server is currently getting constructed.

Simplify the code to instead inject the service.Dependencies type into the servers directly. This will allow us to propagate dependencies more readily in the future.

Merge request reports