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

Do not repeat @OptIn annotation for generated class #773

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

dewantawsif
Copy link
Contributor

Closes #767

🤔 DOD Checklist

  • I did all relevant changes to the documentation and the changelog.

@dewantawsif dewantawsif requested a review from Foso as a code owner February 5, 2025 14:26
@github-actions github-actions bot added documentation Improvements or additions to documentation ktorfit-ksp labels Feb 5, 2025
@dewantawsif
Copy link
Contributor Author

Now that I think about it we should also dedupe the marker classes

@Foso
Copy link
Owner

Foso commented Feb 10, 2025

Thank you for the PR, it's working fine for me. If you want, please add the deduplication. Otherwise i will merge it like it is, in the next days

@dewantawsif
Copy link
Contributor Author

I forgot to add this but there doesn't seem like a need to dedupe them explicitly. I've added a test case just in case.

@Foso Foso enabled auto-merge (squash) February 10, 2025 20:26
@Foso Foso merged commit 5d66ba5 into Foso:master Feb 10, 2025
4 checks passed
@dewantawsif dewantawsif deleted the fix/optin branch February 11, 2025 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation ktorfit-ksp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiler error: @OptIn annotation is not repetable
2 participants