Skip to content

Commit

Permalink
Deprecate old dapr client (dapr#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
withinboredom authored Jul 25, 2021
1 parent e9664b9 commit ea43e72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/DaprClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
use Dapr\Deserialization\IDeserializer;
use Dapr\exceptions\DaprException;
use Dapr\Middleware\Defaults\Tracing;
use JetBrains\PhpStorm\Deprecated;
use JetBrains\PhpStorm\Pure;
use Psr\Log\LoggerInterface;

/**
* Helper functions for accessing the dapr api.
* @package Dapr
*/
#[Deprecated(since: '1.2.0', replacement: \Dapr\Client\DaprClient::class, reason: 'New & better client')]
class DaprClient
{
// temp hack to allow custom headers
Expand Down

0 comments on commit ea43e72

Please sign in to comment.