Skip to content

Conversation

@DanielBadura
Copy link
Member

@DanielBadura DanielBadura commented Nov 23, 2025

closes #743

{
public function __construct(
public readonly string $id,
public readonly string|null $id = null,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be re-orderd i guess

use Patchlevel\EventSourcing\Tests\Integration\Subscription\Events\ProfileCreated;

#[Subscriber('lookup', RunMode::FromBeginning)]
#[Subscriber(runMode: RunMode::FromBeginning)]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't know why this currently does not work as I'm using here a name parameter and id has now a default null value, php stillt trips here with ArgumentCountError: Patchlevel\EventSourcing\Attribute\Subscriber::__construct(): Argument #1 ($id) not passed

@github-actions
Copy link

github-actions bot commented Nov 23, 2025

Hello 👋

here is the most recent benchmark result:


This comment gets update everytime a new commit comes in!

@DanielBadura DanielBadura self-assigned this Nov 23, 2025
@DanielBadura DanielBadura linked an issue Nov 24, 2025 that may be closed by this pull request
@DanielBadura DanielBadura changed the title Add new #[SubscriptionName] attribute to replace SubscritionUtil trait Add new #[SubscriptionId] attribute to replace SubscritionUtil trait Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make SubscriberUtil obsolete and remove it

3 participants