Details
-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
Description
Currently, the only way to get all the configured renditions is via Site and it's Theme. It is inconvenient because code that needs to get all the renditions is tightly coupled to the site module.
We could enhance the API of the info.magnolia.dam.api.AssetRenderer to also include method for returning a stream / collection of available renditions.
This would help with MGNLGQL-105 - to fetch all the asset renditions, GraphQL currently has to inject site and it's theme.
Checklists
Acceptance criteria
Attachments
Issue Links
- is depended upon by
-
MGNLGQL-105 Get asset link from AssetRendition instead of Asset
-
- Selected
-