Skip to content

Commit

Permalink
Header serialization update
Browse files Browse the repository at this point in the history
  • Loading branch information
landonxjames committed Oct 20, 2024
1 parent 423c8ba commit 46e5dd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ class HttpBindingGenerator(
rustTemplate(
"""
// Empty vecs in headers are serialized as the empty string
if ${context.valueExpression.asValue()}.is_empty() {
if ${context.valueExpression.asRef()}.is_empty() {
builder = builder.header("$headerName", "");
}""",
)
Expand Down

0 comments on commit 46e5dd2

Please sign in to comment.