Skip to content

Conversation

Prokyonn
Copy link
Member

Q A
Bug fix? no
New feature? no
BC breaks? no
Related issues/PRs #7672
License MIT

What's in this PR?

Adds the PropertyResolverMetadataAwareInterface.

Why?

The BlockPropertyResolver and ImageMapPropertyResolver need the metadata to dynamically resolve the properties. PropertyResolver that do not need the Metadata should not have them in the "params" array, so that they will not be forwarded to the FE.

@Prokyonn Prokyonn force-pushed the enhancement/property-resolver-metadata-aware-interface branch from 84d7265 to 08ed6f4 Compare August 18, 2025 11:58
@Prokyonn Prokyonn force-pushed the enhancement/property-resolver-metadata-aware-interface branch 2 times, most recently from 9529426 to 0ea5d17 Compare August 19, 2025 04:50
@alexander-schranz alexander-schranz added the DX Affecting the end developer label Aug 19, 2025
# Conflicts:
#	src/Sulu/Bundle/MediaBundle/Tests/Unit/Infrastructure/Sulu/Content/PropertyResolver/ImageMapPropertyResolverTest.php
@Prokyonn Prokyonn force-pushed the enhancement/property-resolver-metadata-aware-interface branch from 0ea5d17 to ab11b56 Compare August 19, 2025 06:36
@Prokyonn Prokyonn marked this pull request as ready for review August 19, 2025 06:38
@alexander-schranz alexander-schranz merged commit 795e2a2 into sulu:3.0 Aug 19, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Affecting the end developer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants