Repository navigation
use resource tags for aggregates, events & headers - #286
Merged
Merged
Conversation
DavidBadura
force-pushed
the
resource-tags
branch
2 times, most recently
from
December 10, 2025 13:40
40d2656 to
f79f18c
Compare
DavidBadura
force-pushed
the
resource-tags
branch
from
December 10, 2025 13:49
f79f18c to
22db507
Compare
DanielBadura
requested changes
Feb 12, 2026
DanielBadura
left a comment
Member
There was a problem hiding this comment.
LGTM CI still failing tho
DavidBadura
force-pushed
the
resource-tags
branch
2 times, most recently
from
October 3, 2026 09:22
5a6cdf5 to
65acc84
Compare
DavidBadura
force-pushed
the
resource-tags
branch
from
October 3, 2026 09:34
1b515ef to
f73abed
Compare
Type the registry parameters in the compiler passes, register the missing default for event_sourcing.headers and resolve the class from the service definition so classes with a custom service id are picked up correctly. The docs no longer mention the removed aggregates, events and headers paths.
DavidBadura
force-pushed
the
resource-tags
branch
from
October 3, 2026 09:55
f73abed to
ae7d05c
Compare
Event aliases were dropped, the header registry lost the internal headers and duplicate names silently overwrote each other. This restores the behaviour of the previous attribute registry factories.
Header aliases are now available in event-sourcing 4.0.x. They are registered after the internal headers and throw if an alias is already in use, same as the attribute registry factory does.
DanielBadura
approved these changes
Oct 3, 2026
| "symfony/config": "^6.4.0 || ^7.0.0 || ^8.0.0", | ||
| "symfony/console": "^6.4.1 || ^7.0.1 || ^8.0.0", | ||
| "symfony/dependency-injection": "^6.4.1 || ^7.0.1 || ^8.0.0", | ||
| "symfony/dependency-injection": "^7.3.0 || ^8.0.0", |
Member
There was a problem hiding this comment.
i think we could drop 6.4 for all components then, as framework users mostly update all components and not only one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aggregates, events and headers are now discovered via Symfony resource tags instead of the
aggregates,eventsandheaderspath options, which are removed. Any class with the matching attribute that is covered by an autoconfigured service resource gets picked up and excluded from the container. This requires symfony/dependency-injection 7.3 or newer.