[MAGNOLIA-2550] Freemarker: use ModelFactory in our ObjectWrapper. Allow modules to plug in their own models Created: 13/Jan/09  Updated: 23/Jan/13  Resolved: 26/Jan/09

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: 4.0

Type: Improvement Priority: Major
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: freemarker
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MAGNOLIA-2370 Move Template/Paragraph related code ... Closed
relation
is related to MAGNOLIA-1469 Make Freemarker more configurable thr... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

The current implementation of MagnoliaObjectWrapper is fairly monolithic, in that the set of objects it knows how to handle is fixed. If we need a specific model for an object outside of magnolia-core, we're basically stuck. Using implementations of ModelFactory should allow more flexibility.
(tbd: how will modules register their own ModelFactory)


Generated at Mon Feb 12 03:37:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.