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

Import for <ERROR TYPE: MyResponse<List<AppObjectResponse>, Unit>> not found #682

Open
SomethingNice2016 opened this issue Oct 12, 2024 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@SomethingNice2016
Copy link

Ktorfit version

2.1.0

What happened and how can we reproduce this issue?

Hello. At the moment I have a problem. I have a cross-platform application on 2 platforms. I wrote my own wrapper for respons in generics, but at the compilation stage I get an error. The wrapper class is in another module. Please help me solve this problem
image

What did you expect to happen?

Happy code generation

Is there anything else we need to know about?

I am using this implementation in an android project. Everything works correctly in it

@SomethingNice2016 SomethingNice2016 added the bug Something isn't working label Oct 12, 2024
@Foso
Copy link
Owner

Foso commented Oct 12, 2024

Thank you for the report! I tried to reproduce it, but i was not able yet

@SomethingNice2016
Copy link
Author

Ktorfit does not generate implementations for all interfaces that are located in another module, even if they do not have generics

@SomethingNice2016
Copy link
Author

image
image

@Foso
Copy link
Owner

Foso commented Oct 15, 2024

Can you please try to reproduce it with the Multiplatform project https://github.com/Foso/Ktorfit/tree/master/example/MultiplatformExample . I want to find a fix for that bug, but when i use the classes everything is working fine. #634 seems to be the same issue

@Foso Foso added the help wanted Extra attention is needed label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants