Skip to content

Commit 58a05d0

Browse files
authored
impl(mixin): add missing mixin headers to rest stub headers (#14808)
1 parent 8f8da75 commit 58a05d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

generator/internal/stub_rest_generator.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ Status StubRestGenerator::GenerateHeader() {
5555
std::vector<std::string> additional_pb_header_paths =
5656
absl::StrSplit(vars("additional_pb_header_paths"), absl::ByChar(','));
5757
HeaderSystemIncludes(additional_pb_header_paths);
58+
std::vector<std::string> mixin_headers =
59+
absl::StrSplit(vars("mixin_proto_header_paths"), ',');
60+
HeaderSystemIncludes(mixin_headers);
5861
HeaderSystemIncludes({vars("proto_header_path"),
5962
HasLongrunningMethod()
6063
? vars("longrunning_operation_include_header")

0 commit comments

Comments
 (0)