Skip to content
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

Failed to compile when using google protobuf files #17

Open
HeyJavaBean opened this issue Feb 28, 2023 · 0 comments
Open

Failed to compile when using google protobuf files #17

HeyJavaBean opened this issue Feb 28, 2023 · 0 comments
Labels
C-bug This is a bug-report. Bug-fix PRs use `C-enhancement` instead.

Comments

@HeyJavaBean
Copy link
Member

Describe the bug
cloudwego/kitex#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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug This is a bug-report. Bug-fix PRs use `C-enhancement` instead.
Development

No branches or pull requests

1 participant