+
Skip to content

Conversation

kienstra
Copy link
Member

@kienstra kienstra commented Oct 16, 2023

Changes

  • Remove inversify, the dependency injection framework
  • Replace it with a composition root
  • Now, you can see where all of the instances come from:

const registrarFactory = new RegistrarFactory(
new Complain(editorGateway),
configFile,
createConfigFile,
debugRepo,
new EnterLicense(licenseInput),
enterToken,
exitAllJobs,
exitJob,
new FirstActivation(editorGateway, reporterGateway, email),

@kienstra kienstra merged commit 0b38efb into develop Oct 18, 2023
@kienstra kienstra deleted the update/simpler-di branch October 18, 2023 02:56
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.

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载