Open ppazos opened 4 years ago
The issue with this is: services are injected so the config changes the services and we don't need to do anything extra, but we have a factory for OptRepositoryS3Impl and OptRepositoryFSImpl, so moving the methods to the services needs to remove the factory. Another issue is we are passing those repos as parameters to some functions, if we move everything to the services, we need to inject the services in the correspondent classes and avoid passing any parameters.