-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
use Symfony\Component\DependencyInjection\ContainerBuilder; | ||
|
||
/** @interal */ | ||
final class CustomMessageHeaderCompilerPass implements CompilerPassInterface |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
Fix header registration
Fix tests
… the event CS fix
f391e6f
to
3c30871
Compare
@DavidBadura I added the |
$extension = new PatchlevelEventSourcingExtension(); | ||
$extension->load( | ||
[ | ||
'patchlevel_event_sourcing' => [ | ||
'connection' => [ | ||
'url' => 'sqlite3:///:memory:', | ||
], | ||
] | ||
], | ||
$container | ||
); | ||
|
There was a problem hiding this comment.
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.
No description provided.