Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tonic-prost-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,10 @@ impl Builder {
config.include_file(path);
}

if self.with_extended_rust_types {
NON_PATH_TYPE_ALLOWLIST.set(EXTENDED_NON_PATH_TYPE_ALLOWLIST);
}

// Note: We don't pass self.disable_comments to prost Config here
// because those are meant for service/method paths which are handled
// by the ServiceGenerator, not for message paths
Expand Down