Skip to content

Add new SettingsResolver and restructure ContentResolver result #7774

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

Merged
merged 3 commits into from
Feb 3, 2025

Conversation

Prokyonn
Copy link
Member

@Prokyonn Prokyonn commented Feb 3, 2025

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

What's in this PR?

Adds settings resolver and update contentResolver

@alexander-schranz alexander-schranz added the Feature New functionality not yet included in Sulu label Feb 3, 2025
@@ -22,7 +22,7 @@
use Sulu\Content\Domain\Model\DimensionContentInterface;
use Sulu\Content\Domain\Model\ExcerptInterface;

class ExcerptResolver implements ResolverInterface
readonly class ExcerptResolver implements ResolverInterface
Copy link
Member

Choose a reason for hiding this comment

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

if we go readonly I think we can also go final?

@alexander-schranz alexander-schranz merged commit f70f12c into 3.0 Feb 3, 2025
8 of 9 checks passed
@alexander-schranz alexander-schranz changed the title Add SettingsResolver Add new SettingsResolver and restructure ContentResolver result Feb 3, 2025
@alexander-schranz alexander-schranz deleted the enhancement/settings-resolver-1 branch February 3, 2025 16:37
{
return [
'author' => $dimensionContent->getAuthor()?->getId(),
'authored' => $dimensionContent->getAuthored(),
Copy link
Member

Choose a reason for hiding this comment

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

@Prokyonn we should also add the last modified?

@benr77
Copy link

benr77 commented Feb 4, 2025

Confirmed all working as expected thanks!

@alexander-schranz alexander-schranz added this to the Release 3.0 milestone Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New functionality not yet included in Sulu
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants