refactor(core): fix depinject detection (#19260)

This commit is contained in:
Julien Robert
2024-01-28 03:37:58 +00:00
committed by GitHub
parent b947b02dc6
commit 493dd78e56
6 changed files with 7 additions and 14 deletions
+3
View File
@@ -13,6 +13,9 @@ import (
type AppModule interface {
// IsAppModule is a dummy method to tag a struct as implementing an AppModule.
IsAppModule()
// IsOnePerModuleType is a dummy method to help depinject resolve modules.
IsOnePerModuleType()
}
// HasServices is the extension interface that modules should implement to register