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

Code generation fail if the composable has an Opt-In Annotation #5

Closed
eric-ampire opened this issue Oct 4, 2021 · 6 comments
Closed

Comments

@eric-ampire
Copy link

The code generation doesn't succeed if the composable has an Opt-In annotation

@raamcosta
Copy link
Owner

Hi again @eric-ampire 🙂
That's weird, let me see if I can reproduce it.

@raamcosta
Copy link
Owner

I'm not able to reproduce it.
Can you please share some more details?
Even better: some code or a repository? :D
Is there any error in the build logs?

Thanks in advance 🙏

@raamcosta
Copy link
Owner

raamcosta commented Oct 4, 2021

Ahh I see, of course! You mean an annotation that requires opt in. My bad 🤦‍♂️
Now I can reproduce it, I believe.

Can you confirm that this is the issue in the generated Destination?
image

The error message can be different depending on the actual opt in annotation, but otherwise this is it, correct?

@eric-ampire
Copy link
Author

eric-ampire commented Oct 5, 2021 via email

@raamcosta
Copy link
Owner

Cool! This will be fixed on next release :) for now you can @OptIn(ExperimentalWhatever::class) in the Composable.

@eric-ampire
Copy link
Author

eric-ampire commented Oct 11, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants