Skip to content

Commit

Permalink
[RESTEASY-3365] Merge pull request #3728 from coder-hugo/fix/client-s…
Browse files Browse the repository at this point in the history
…ide-param-converter-providers

Fix client-side ParamConverter retrieval
  • Loading branch information
jamezp committed Aug 10, 2023
2 parents a27fdaa + 30796be commit 7d8ce1d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ public T buildIt(T target, Object object) {
target = apply(target, arr);
}
} else {
ParamConverter<Object> paramConverter = config.getParamConverter(object.getClass(), type, annotations);
if (paramConverter != null) {
object = paramConverter.toString(object);
}
target = apply(target, object);
}
return target;
Expand Down

0 comments on commit 7d8ce1d

Please sign in to comment.