Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20829 Make the REST APILoader\Factory dynamic
  3. EZP-21101

Refactor REST FieldTypeProcessors to use service tags

    XMLWordPrintable

Details

    • Aconcagua Sprint 1, Aconcagua Sprint 2

    Description

      The FieldTypeProcessor, implemented in EzPublishRestBundle::buildFieldTypeProcessorRegistry, uses a hardcoded mapping.

      For extensibility and maintainability, this must be changed to service tags:

      services.yml
      ezpublish_rest.field_type_processor.ezdatetime:
          class: %ezpublish_rest.field_type_processor.ezdatetime.class%
          tags:
              - { name: ezpublish_rest.field_type_processor, alias: ezimage }
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 6 hours Original Estimate - 6 hours
                6h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours, 45 minutes
                1d 2h 45m