-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
@Location annotation for typealias #539
Comments
As a workaround you can make your own We have something like this where
|
This issue has been automatically marked as stale because it has not had recent activity. |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
I have a multiplatform project that makes use of common module in which my classes for API request/response are located. This is why I can't use
@Location
on the class itself (because common module can't have ktor jvm dependency)I tried to create a typealias and apply
@Location
annotation to it but it gives compiler error because annotation doesn't target typealiasesI am not sure if this can be solved by just adding
@Target(AnnotationTarget.TYPEALIAS)
or needs some deeper integration but I'm sure this is a great feature to supportThe text was updated successfully, but these errors were encountered: