davendu opened a new issue, #11486:
URL: https://github.com/apache/apisix/issues/11486

   ### Current Behavior
   
   When provide config and protobuf files using [standalone 
mode](https://apisix.apache.org/docs/apisix/deployment-modes/#how-to-configure-protos),
 and configured with a proper protobuf with `import`, the protobuf will not be 
loaded with error `No such file or directory`.
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   Try use this proto, and reference it in a route:
   
   ```protobuf
   protos:
     - id: helloworld2
       desc: hello world
       content: >
         syntax = "proto3";
         package helloworld2;
         import "helloworld.proto";
   
         service Greeter {
           rpc SayHello (HelloRequest) returns (HelloReply) {}
         }
         message HelloRequest {
           string name = 1;
         }
         message HelloReply {
           string message = 1;
         }
     - id: helloworld
       desc: hello world
       content: >
         syntax = "proto3";
         package helloworld;
   
         service Greeter {
           rpc SayHello (HelloRequest) returns (HelloReply) {}
         }
         message HelloRequest {
           string name = 1;
         }
         message HelloReply {
           string message = 1;
         }
   #END
   ```
   
   ### Environment
   
   - APISIX version (run `apisix version`): 2.x


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to