Skip to content

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

@swallez swallez merged commit cd35f19 into main Nov 4, 2022
@swallez swallez deleted the use-reflect-type branch November 4, 2022 08:31
swallez added a commit that referenced this pull request Nov 4, 2022
) (#439)

Co-authored-by: Sylvain Wallez <sylvain@elastic.co>
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