Skip to content

Commit ea43e72

Browse files
Deprecate old dapr client (#111)
1 parent e9664b9 commit ea43e72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/DaprClient.php

+2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
use Dapr\Deserialization\IDeserializer;
66
use Dapr\exceptions\DaprException;
77
use Dapr\Middleware\Defaults\Tracing;
8+
use JetBrains\PhpStorm\Deprecated;
89
use JetBrains\PhpStorm\Pure;
910
use Psr\Log\LoggerInterface;
1011

1112
/**
1213
* Helper functions for accessing the dapr api.
1314
* @package Dapr
1415
*/
16+
#[Deprecated(since: '1.2.0', replacement: \Dapr\Client\DaprClient::class, reason: 'New & better client')]
1517
class DaprClient
1618
{
1719
// temp hack to allow custom headers

0 commit comments

Comments
 (0)