query parameter as Optional<String> within declarative HttpClient #4849
-
Hi, is there a limitation not using java Optional as HttpClient parameter? having the client declared as
and invoking the client as such
produces at the outbound request the string representation of the
The conversion is fixed set to String within the DefaultBinderRegistry see Is there either a reason not supporting Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Seems to be the case, although if you speak to the designers of the |
Beta Was this translation helpful? Give feedback.
Seems to be the case, although if you speak to the designers of the
Optional
type they say it should only really be used in return types