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

Add possibility to put context attributes to the rest response in command endpoint

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.1
    • None
    • None
    • None
    • Yes

      ilgun -> As far as I could grasp when I was working on MGNLBACKUP-105, the behaviour is as follows;

      • Command itself it returning false ->{ Success : true }
      • Command returning true -> no effect I'd expect to have success : false but no it will still return{ Success : true }
      • Command throwing exceptions -> Finally we get a { Success : false } with exception message in the response entity.

      Therefore the success message relies on the command throwing exceptions or not.

        Acceptance criteria

              jsimak Jaroslav Simak
              jsimak Jaroslav Simak
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD