ã¨ã³ã¸ãã¢ãªã³ã°ã°ã«ã¼ãã®å¨å²¡ã§ãã TypeScriptåãã®DIã©ã¤ãã©ãªãå ¬éããã®ã§ç´¹ä»ãã¾ãã github.com ã¢ããã¼ã·ã§ã³ Clean Architectureçã®è¨è¨ææ³ã使ã£ã¦ã³ã¼ããæ¸ãã¦ããã¨ãæ½è±¡ã«ä¾åãããã¨ãå¤ããªã£ã¦ãã¾ãã class CreateUserAccount { constructor(private userAccountRepository: UserAccountRepository) {} } const forProduction = new CreateUserAccount( new PostgreSQLUserAccountRepository( buildPostgreSQLConfig(process.env) ) ) const forTest = new CreateUserAccount(new InMemoryU
{{#tags}}- {{label}}
{{/tags}}