Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix most SA errors, remove Trace feature, fix Header usage #20

Merged
merged 7 commits into from
Dec 31, 2024

Conversation

DanielBadura
Copy link
Member

No description provided.

composer.json Outdated Show resolved Hide resolved
src/Controller/EventController.php Show resolved Hide resolved
use Symfony\Component\DependencyInjection\ContainerBuilder;

/** @interal */
final class CustomMessageHeaderCompilerPass implements CompilerPassInterface
Copy link
Member

Choose a reason for hiding this comment

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

I'm not entirely happy that we have to do it this way, but there's no other option at the moment. So it's fine for now. But I'd like to see at some point whether we can add something to the event sourcing lib to make it work better.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, imho its related to this issue here: patchlevel/event-sourcing#524

@DanielBadura DanielBadura marked this pull request as ready for review December 31, 2024 13:07
@DanielBadura
Copy link
Member Author

@DavidBadura I added the iterator_to_array and rebased/squashed some commits. This is now ready from my side.

Comment on lines +81 to +92
$extension = new PatchlevelEventSourcingExtension();
$extension->load(
[
'patchlevel_event_sourcing' => [
'connection' => [
'url' => 'sqlite3:///:memory:',
],
]
],
$container
);

Copy link
Member Author

Choose a reason for hiding this comment

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

I dislike this part here. I'm not sure though how to solve this in a better way.

@DavidBadura DavidBadura merged commit e590f13 into 1.0.x Dec 31, 2024
17 checks passed
@DavidBadura DavidBadura deleted the cleanup branch December 31, 2024 14:56
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.

2 participants