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

Get Value is not useable from non-inline Functions #35

Open
MrThreepwood opened this issue May 15, 2024 · 2 comments
Open

Get Value is not useable from non-inline Functions #35

MrThreepwood opened this issue May 15, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@MrThreepwood
Copy link

Is your feature request related to a problem? Please describe.

I would like to be able to fetch data from an interface implimentation. Interfaces don't have inline functions, and therefor can't have reified generic params.

Describe the solution you'd like

Making a getValue function that can take a Class or KClass would be convenient.

Describe alternatives you've considered

Currently I just have to use the Java SDK

@MrThreepwood MrThreepwood added the enhancement New feature or request label May 15, 2024
@novalisdenahi
Copy link
Contributor

Hi @MrThreepwood,

Thank you for your feedback!
I'll put this topic on our next dev meeting's agenda to discuss it with the team. I'll let you know about the results.

In the meantime, I think you should check the getAnyValue method. This can be a solution for you as well I think.

Best Regards,
Daniel

@novalisdenahi novalisdenahi self-assigned this May 15, 2024
@novalisdenahi
Copy link
Contributor

Hi @MrThreepwood,

Have you tried the getAnyValue method? Is it a good solution for you?

If not, can you show me a quick code example of how you would like to use the new method with the Kclass parameter or how you currently use the Java SDK getValue?

Thanks in advance!
Daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants