Skip to content

Commit

Permalink
generate Module name by services
Browse files Browse the repository at this point in the history
  • Loading branch information
0xZhangKe committed Jan 15, 2025
1 parent 509d1dd commit b7106f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class KRouterModuleGenerator(private val environment: SymbolProcessorEnvironment
services: List<KSClassDeclaration>,
): String {
val className = ReflectionContract.generateCollectionFileName(
name = System.identityHashCode(destinations).toString(16),
name = System.identityHashCode(destinations + services).toString(16),
)
val moduleClass = TypeSpec.classBuilder(className)
.primaryConstructor(FunSpec.constructorBuilder().build())
Expand Down

0 comments on commit b7106f7

Please sign in to comment.