Skip to content
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

V14: Extend IContentEntitySlim #15890

Merged
merged 9 commits into from
Mar 18, 2024
Merged

Conversation

nikolajlauridsen
Copy link
Contributor

Updates IContentEntitySlim to have ContentTypeKey and ListView, this saves us from fetching the entity twice when working with them through GUIDs.

Testing

Please make sure that item endpoints still work and return the content type information.

Breaking changes

  • The IContentEntitySlim has two additional properties which must be implemented
  • ContentPresentationFactoryBase is no longer needed and has been deleted, instead use UmbracoMapper directly
  • MemberPresentationFactory and MediaPresentationFactory have updated constructors that no longer take *TypeService

Copy link
Member

@bergmania bergmania left a comment

Choose a reason for hiding this comment

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

LGTM 💪

@bergmania bergmania merged commit 1408298 into v14/dev Mar 18, 2024
16 checks passed
@bergmania bergmania deleted the v14/feature/extend-entitty-slim branch March 18, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants