[MGNLREST-266] NodeWriter & Asset writer should be more extendable Created: 12/Aug/20  Updated: 07/Jul/23

Status: Open
Project: Magnolia REST Framework
Component/s: None
Affects Version/s: 2.2.1
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Sebastian Bauch Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLDAM-764 Add "alternative" to asset meta data ... Closed
relation
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)
Date of First Response:

 Description   

At the moment it's almost not possible to extend both classes.

For example, if you add a new attribute to the asset app, you have to copy/patch the whole AsstWriter class for rendering the new attribute to the JSON response.

It would be nice if you could split the 52 line methods into smaller extendable methods and make them not private.


Generated at Mon Feb 12 06:58:13 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.