Skip to content

Add Type in addition to Class to map types with generic parameters #438

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

Merged
merged 2 commits into from
Nov 4, 2022

Conversation

swallez
Copy link
Member

@swallez swallez commented Nov 3, 2022

Adds support for java.lang.reflect.Type in deserializers to allow mapping types with generic parameters. This comes in addition to methods with a Class<T> parameter that are kept as is, as they allow better type inference by the compiler when using non-parameterized types.

Overloaded methods using Type have been added to endpoint methods via code generation in d5b93c9.

Fixes #118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search Request should support parameterized type
1 participant