-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(grpc): import proto files relative to parent proto #1705
Conversation
WalkthroughWalkthroughThe recent updates primarily focus on enhancing path handling in protocol buffer files and the Changes
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Additional Context UsedPath-based Instructions (1)
Additional comments not posted (3)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1705 +/- ##
=======================================
Coverage 86.90% 86.91%
=======================================
Files 155 155
Lines 15568 15588 +20
=======================================
+ Hits 13530 13548 +18
- Misses 2038 2040 +2 ☔ View full report in Codecov by Sentry. |
Action required: PR inactive for 2 days. |
PR closed after 5 days of inactivity. |
@ssddOnTop could you please fix the conflicts? |
Summary:
example:
greetings_a.proto:
greetings_b.proto:
let
greetings_a.proto
be the main file which importsgreetings_b.proto
. Just importinggreetings_b.proto
throws an file not found error because it treats it as absolute path.This pr fixes this issue by using path of parent file as relative/parent path.
Summary by CodeRabbit
ProtoReader
with additional functionalities to improve path resolution and file handling.