Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21998

Implement @ParamConverter in controllers

    XMLWordPrintable

Details

    • Pollux Core S3, Pollux Core S5

    Description

      Most controllers actions have parameters such as contentId or contentId. The method has the logic to fetch the corresponding Public API Value Objects using services.

      To make controllers thinner, we can implement @ParamConverter, so that controller actions don't have to fetch the object.

      Also to be done:

      • Test
      • Doc update
      • DemoBundle update

      Attachments

        Activity

          People

            Unassigned Unassigned
            bertrand.dunogier@ibexa.co Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Time Spent - 1 hour, 5 minutes Remaining Estimate - 1 day, 6 hours, 55 minutes
                1d 6h 55m
                Logged:
                Time Spent - 1 hour, 5 minutes Remaining Estimate - 1 day, 6 hours, 55 minutes
                1h 5m