summaryrefslogtreecommitdiff
path: root/tests/plugins/grpc/testdata/import_custom/service.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/grpc/testdata/import_custom/service.proto')
-rw-r--r--tests/plugins/grpc/testdata/import_custom/service.proto19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/plugins/grpc/testdata/import_custom/service.proto b/tests/plugins/grpc/testdata/import_custom/service.proto
new file mode 100644
index 00000000..872aaae3
--- /dev/null
+++ b/tests/plugins/grpc/testdata/import_custom/service.proto
@@ -0,0 +1,19 @@
+syntax = "proto3";
+
+package import;
+
+option php_namespace = "Test\\CustomImport";
+
+import "import_custom/sub/message.proto";
+
+service Service {
+ rpc SimpleMethod (Message) returns (Message) {
+ }
+
+ rpc ImportMethod (import.sub.Message) returns (import.sub.Message) {
+ }
+}
+
+message Message {
+ int64 id = 1;
+} \ No newline at end of file