cloudwego / cloudwego/fastpb

Failed to compile when using google protobuf files

Open
#17 0 comments 4 reactions 0 assignees View on GitHub
C-bug
Dominant language
Go
Stars
109
Forks
9
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
https://github.com/cloudwego/kitex/issues/835
When importing google protobuf files, such as timestamp, those structs don't have fastpb interface, so users cannot compile codes.

**To Reproduce**

```
syntax = "proto3";

option go_package = "pbdemo";
import "google/protobuf/timestamp.proto";

package pbdemo;

service ServiceA {
rpc SayHello (Request) returns (Reply) {}
}

message Request {
string name = 1;
google.protobuf.Timestamp date = 4;
}

message Reply {
string message = 1;
}

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.