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

typeshare - does it create kotlin methods? #138

Open
arabdulazeez opened this issue Aug 13, 2023 · 1 comment
Open

typeshare - does it create kotlin methods? #138

arabdulazeez opened this issue Aug 13, 2023 · 1 comment

Comments

@arabdulazeez
Copy link

arabdulazeez commented Aug 13, 2023

I see that typeshare creates classes in kotlin for the equivalent rust classes but when it comes to creating methods, the library doesn't support it.
Any idea when you would add support to that?

@czocher
Copy link
Contributor

czocher commented Jun 4, 2024

I don't think this can be done in most cases. For simple cases like getters/setters yes, but if a method has any logic translating this logic to all the various languages that typeshare produces wouldn't be possible without in-depth abstract syntax analysis on the Rust side.
I strongly suspect this is not in the roadmap for this library and it will never be implemented.

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