IMediaPathScheme should receive the IContentBase, not just the GUIDs. #14337
Replies: 2 comments 2 replies
-
The associated use-case here: we want to be able to decide where to store a media item based on the parent media item it belongs to. That way, for example, we could store and retrieve media items in/from different blob storage containers. Currently, |
Beta Was this translation helpful? Give feedback.
-
Should be okay to make these changes, as long as we do not introduce breaking changes.. I guess that should be possible if the Umbraco implementation just calls the old signature. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
IMediaPathScheme
now gets the content.Key and propertyType.key from the MediaFileManager, but why not just pass the wholecontent
? This would prevent all kinds of additional lookups and also allows the manipulation of the content before it's eventually persisted.This has remained unchanged since v7 IIRC.
Beta Was this translation helpful? Give feedback.
All reactions