Skip to content

Commit

Permalink
added proto converter
Browse files Browse the repository at this point in the history
  • Loading branch information
cappuc committed Oct 19, 2024
1 parent c9bb528 commit a276c90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/LaravelTemporalServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
use Temporal\DataConverter\DataConverter;
use Temporal\DataConverter\DataConverterInterface;
use Temporal\DataConverter\NullConverter;
use Temporal\DataConverter\ProtoConverter;
use Temporal\DataConverter\ProtoJsonConverter;
use Temporal\Interceptor\SimplePipelineProvider;

Expand Down Expand Up @@ -85,6 +86,7 @@ public function registeringPackage(): void
new NullConverter,
new BinaryConverter,
new ProtoJsonConverter,
new ProtoConverter,
new LaravelPayloadConverter
));

Expand Down Expand Up @@ -137,7 +139,7 @@ protected function setupTestingEnvironment(): void
}

if (ParallelTesting::token() !== false) {
config()->set('temporal.rpc_port', env('TEMPORAL_TESTING_RPC_PORT', 6001) + ParallelTesting::token());
config()->set('temporal.rpc_port', (int) env('TEMPORAL_TESTING_RPC_PORT', 6001) + (int) ParallelTesting::token());

if (env('TEMPORAL_TESTING_SERVER', true)) {
[$host, $port] = Str::of(config('temporal.address'))->explode(':', 2)->all();
Expand Down

0 comments on commit a276c90

Please sign in to comment.