Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
@@ -1,21 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Application\Newsletter\SignUp;
|
||||
|
||||
use App\Framework\Attributes\Route;
|
||||
use App\Framework\CommandBus\CommandBus;
|
||||
use App\Framework\CommandBus\DefaultCommandBus;
|
||||
use App\Framework\Http\Method;
|
||||
use App\Framework\Http\Status;
|
||||
use App\Framework\Router\Result\ContentNegotiationResult;
|
||||
use App\Framework\Router\Result\JsonResult;
|
||||
|
||||
final readonly class NewsletterSignup
|
||||
{
|
||||
public function __construct(
|
||||
public CommandBus $commandBus,
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
#[Route(path: '/newsletter/register', method: Method::POST)]
|
||||
public function __invoke(NewsletterSignupRequest $request): ContentNegotiationResult
|
||||
|
||||
Reference in New Issue
Block a user