Optimize tags list query performance by using more subqueries

This commit is contained in:
Alejandro Celaya
2023-02-12 13:09:24 +01:00
parent 7a0b1e8494
commit 76a86c452e
3 changed files with 52 additions and 21 deletions

View File

@@ -11,7 +11,7 @@ use Shlinkio\Shlink\Rest\Entity\ApiKey;
class WithInlinedApiKeySpecsEnsuringJoin extends BaseSpecification
{
public function __construct(private ?ApiKey $apiKey, private string $fieldToJoin = 'shortUrls')
public function __construct(private readonly ?ApiKey $apiKey, private readonly string $fieldToJoin = 'shortUrls')
{
parent::__construct();
}