-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#134]: chore: strip extra slashes when there is no
package
defined…
… in the protofile
- Loading branch information
1 parent
1cabc0e
commit e5e9205
Showing
3 changed files
with
66 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
protoc_plugins/testdata/NoPackage/Test/CustomImport/ServiceInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
# Generated by the protocol buffer compiler (roadrunner-server/grpc). DO NOT EDIT! | ||
# source: NoPackage/nopackage.proto | ||
|
||
namespace Test\CustomImport; | ||
|
||
use Spiral\RoadRunner\GRPC; | ||
|
||
interface ServiceInterface extends GRPC\ServiceInterface | ||
{ | ||
// GRPC specific service name. | ||
public const NAME = "Service"; | ||
|
||
/** | ||
* @param GRPC\ContextInterface $ctx | ||
* @param \Message $in | ||
* @return \Message | ||
* | ||
* @throws GRPC\Exception\InvokeException | ||
*/ | ||
public function SimpleMethod(GRPC\ContextInterface $ctx, \Message $in): \Message; | ||
} |