We are experiencing an issue where we encounter classes that we do not intend to see.
Consider a scenario with modules such as feature/a, feature/b, and core/designsystem. The designsystem module contains some previews.
When we aim to conduct Preview screenshot testing within a module for rapid updates, the previews from designsystem are captured multiple times.
Therefore, my proposal is to support the internal modifier of Kotlin for Preview functions.
If a Preview function is marked as internal, it should not be accessible from other modules.
However, currently, we are uncertain how to determine if a function belongs to the same module.
We are experiencing an issue where we encounter classes that we do not intend to see.
Consider a scenario with modules such as
feature/a,feature/b, andcore/designsystem. Thedesignsystemmodule contains some previews.When we aim to conduct Preview screenshot testing within a module for rapid updates, the previews from
designsystemare captured multiple times.Therefore, my proposal is to support the internal modifier of Kotlin for Preview functions.
If a Preview function is marked as internal, it should not be accessible from other modules.
However, currently, we are uncertain how to determine if a function belongs to the same module.