Closed Jiahui-Zhang-20 closed 3 months ago
Thanks for your interest in palantir/dialogue, @Jiahui-Zhang-20! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.
Released 3.135.0
Before this PR
Dialogue annotations do not support including headers dynamically to a request. This prevents the client from setting headers (e.g. auth headers) during runtime. The Dialogue client cannot accommodate custom auth header schemes unbeknownst at compile time.
After this PR
We implement a
Request.HeaderMap
annotation that can decode aMultiMap<String, String>
where the map key is the header key and the map value is the corresponding header value.==COMMIT_MSG==
feature: add support for HeaderMap ==COMMIT_MSG==