fullstorydev / fullstorydev/grpcurl

Grpcurl not able to parse validate/validate.proto

Open
#340 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
12.8k
Forks
580
Avg merge
1h 8m
Merged PRs (30d)
5

Description

We have implemented proto messages that uses envoy validate.proto to validate fields within messages. The application consuming the proto is implemented using spring boot and works fine correctly. The grpcurl command fails with validate/validate.proto no such file or directory. The command:
./grpcurl -d '{"userId": "123"}' -import-path /home/psankaranarayanan/staging/pcap-service-contracts/core-api-contract/src/main/proto/ -proto account_service.proto com.account.AccountService/getAccounts

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported grpcurl command with the given import path, account_service.proto, and validate/validate.proto dependency. Trace how grpcurl resolves imported proto files and verify the command can parse the dependency and invoke AccountService/getAccounts successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.