Skip to content

Use tagged_iterator for Initalizer services #7724

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

Closed
wants to merge 1 commit into from

Conversation

mamazu
Copy link
Contributor

@mamazu mamazu commented Jan 9, 2025

Q A
Bug fix? no
New feature? no
BC breaks? yes
Deprecations? yes
Fixed tickets -
Related issues/PRs #7402
License MIT
Documentation PR sulu/sulu-docs#

What's in this PR?

Replacing the InitializerPass with a tagged iterator.

BC Breaks:

  • The signiture of the Initializer has changed.
  • All Initializers are now private by default because we don't need the container anymore.

Why?

All of what the InitializerPass can do the tagged iterator can do as well.

@mamazu mamazu force-pushed the tagged_iterator_initalizer branch from 5e80757 to d05ef4f Compare January 9, 2025 10:15
@mamazu mamazu changed the title Tagged iterator initalizer Using tagged_iterator for Initalizer services Jan 9, 2025
@mamazu mamazu changed the title Using tagged_iterator for Initalizer services Use tagged_iterator for Initalizer services Jan 9, 2025
@mamazu mamazu added Technical Debt Impacts code quality, no or just small impact on end developers and users DX Affecting the end developer labels Jan 9, 2025
@mamazu mamazu force-pushed the tagged_iterator_initalizer branch 5 times, most recently from 50eb672 to e876a65 Compare January 9, 2025 17:29
@mamazu mamazu force-pushed the tagged_iterator_initalizer branch from e876a65 to 83c9721 Compare January 9, 2025 18:00
@mamazu
Copy link
Contributor Author

mamazu commented Apr 4, 2025

@Prokyonn Is this still relevant or can this PR be closed?

@Prokyonn
Copy link
Member

Prokyonn commented Apr 7, 2025

@Prokyonn Is this still relevant or can this PR be closed?

no I don't think this is relevant for Sulu 3.0, as the DocumentManagerBundle will be removed anyway

@mamazu mamazu closed this Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Affecting the end developer Technical Debt Impacts code quality, no or just small impact on end developers and users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants