Support Bindable annotation for request body arguments in declarative client #7506
Unanswered
ondrej-hrstka
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
when using declarative http client, the method arguments names are the ones, which are used in the request body. But sometimes I might need to make request and use different name that is the argument name. Would it make sense accept
Bindable
annotation in processing the name? Looking in the source code, it should be pretty simple change inHttpClientIntroductionAdvice
.In the example above, the client would make request with body
Does this makes sense? I can prepare PR with the change, but wanted to discuss the idea first.
Beta Was this translation helpful? Give feedback.
All reactions