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

Fix accessor generation for suspend methods #84

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

cyrillhalter
Copy link
Collaborator

Since accessor methods require a return type in new kotlinpoet versions and we cannot obtain this information from an annotated suspend function, we manually remove the return type from the generated method after generation of the source file.

@cyrillhalter cyrillhalter merged commit 254af7b into SchwarzIT:main Jul 10, 2024
1 check passed
@cyrillhalter cyrillhalter deleted the typeconverters2 branch July 10, 2024 09:30
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

Successfully merging this pull request may close these issues.

3 participants