Closed GuilhE closed 1 month ago
Like we discussed in slack @raamcosta , with 2.1.0-beta08, for this configuration example:
2.1.0-beta08
ksp { arg("compose-destinations.moduleName", "authentication") arg("compose-destinations.codeGenPackageName", "com.feature.authentication") }
the output is:
internal object AuthenticationNavGraphs { val authenticationAuthentication = AuthenticationNavGraph }
which I believe it could be improved to something like:
internal object AuthenticationNavGraphs { val main = AuthenticationNavGraph }
When the graph has the same name as the module.
graph
module
What are your thoughts on this? 🤔
Totally agree! Done!
Will be available on beta09 versions, which are cooking atm! Also fixed the issue with the module name being prefixed on NavGraphs object fields.
Like we discussed in slack @raamcosta , with
2.1.0-beta08
, for this configuration example:the output is:
which I believe it could be improved to something like:
When the
graph
has the same name as themodule
.What are your thoughts on this? 🤔