Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate if we can add checks to prevent passing the parent ComponentContext to children #635

Open
arkivanov opened this issue Feb 11, 2024 · 1 comment
Labels
enhancement New feature or request investigate Something might be broken and needs to be investigated

Comments

@arkivanov
Copy link
Owner

arkivanov commented Feb 11, 2024

Maybe a compiler plugin. See the discussion: https://kotlinlang.slack.com/archives/C03H3N51SKT/p1707471641114349.

@arkivanov arkivanov added the enhancement New feature or request label Feb 11, 2024
@amal
Copy link

amal commented Feb 15, 2024

It can also be a detekt/lint check.

Maybe a package with such checks can be useful for even for more recommendations, best practices, and warnings.
See compose-rules as an example.

@arkivanov arkivanov added the investigate Something might be broken and needs to be investigated label Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request investigate Something might be broken and needs to be investigated
Projects
None yet
Development

No branches or pull requests

2 participants