Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-266

NodeWriter & Asset writer should be more extendable

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 2.2.1
    • None
    • None

    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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                sebastian_b Sebastian Bauch
                Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD