-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Marshalling a Map with a generic type does not work #269
Comments
Could you please provide sample Java code to demonstrate this issue? [edit] |
Yeah that seems to fix the issue. I'm wondering if maybe we can add support in for whatever Kotlin does so we don't run into this in future. I'd be willing to open a PR but for some reason I can't seem to compile the code on my setup 😅 It would probably just involve the marshaller being able to handle a |
No special setup required for this project. I just use Eclipse to open/edit and Maven to build the project. Works just fine without any additional configuration.
Maybe, maybe not. Map is a parametrized type, so when improving this, it also has to work with other types used as key or value in Map. |
Example: In the following interface (in Kotlin)
The library marshals the
options
parameter as ana{s}
, not ana{sv}
as expected.The root cause seems to be that the marshalling code does not handle a
WildcardType
:The text was updated successfully, but these errors were encountered: