Skip to content

Conversation

@Wilkins
Copy link
Contributor

@Wilkins Wilkins commented Dec 26, 2024

No description provided.

@Wilkins Wilkins requested a review from sidux December 26, 2024 10:29
@Wilkins Wilkins self-assigned this Dec 26, 2024
@Wilkins Wilkins force-pushed the add_event_factory branch 2 times, most recently from f975914 to ecaf837 Compare December 26, 2024 12:29
@Wilkins Wilkins force-pushed the add_event_factory branch from ecaf837 to 8a5d04e Compare January 7, 2025 14:11
@Wilkins Wilkins requested a review from sidux January 7, 2025 14:11
@Wilkins Wilkins force-pushed the add_event_factory branch 3 times, most recently from 5533c11 to 4b7595a Compare January 7, 2025 16:16
@github-actions
Copy link

github-actions bot commented Jan 7, 2025

Issued by Coverage Checker:

$this->name = self::getName(
className: $class,
moment: $type,
transport: Transport::SYNC,
Copy link
Contributor

Choose a reason for hiding this comment

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

we should pass the transport from the constructor which is set in the attribute

$this->eventDispatcher->dispatch(
$event,
$event->name . '.' . Transport::SYNC->value,
$event->name,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sidux since we set the SYNC in the getName() I removed it from here otherwise we have a post.use_case.sync.sync

@Wilkins Wilkins merged commit 3fb67c4 into master Jan 23, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants