grpc / grpc/grpc-dotnet

How to import a proto file that imports other proto files

Open
#2,533 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C#
Stars
4.5k
Forks
836
Avg merge
6d 3h
Merged PRs (30d)
7

Description

Suppose I have a `file1.proto` and it imports `file2.proto` at other path, `file2.proto` imports `file3.proto` at anther path. And many other imports. How can I import `file1.proto` and use methods inside it with dotnet-grpc tools?

Thanks.

Contributor guide

Open the contributing guide

Research direction

Start with the dotnet-grpc tool documentation and use the described file1.proto, file2.proto, and file3.proto import chain as the reproduction. Clarify the supported setup for importing nested proto files and document the required paths and expected result.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.