Skip to content

V14: Extend IContentEntitySlim#15890

Merged
bergmania merged 9 commits intov14/devfrom
v14/feature/extend-entitty-slim
Mar 18, 2024
Merged

V14: Extend IContentEntitySlim#15890
bergmania merged 9 commits intov14/devfrom
v14/feature/extend-entitty-slim

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
@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