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

Define ezpublish.api.repository as a lazy service

    XMLWordPrintable

Details

    Description

      Having ezpublish.api.repository (and API services) lazy will allow to avoid ServiceContainer injection or lazy closures (e.g. ezpublish.api.repository.lazy).
      This will also avoid issues like EZP-22116 when helpers depending on API services are instantiated by other services as dependencies, but not really used. Without lazy services, it forces a connection to the storage engine.
      In other terms, this can avoid a lot of empty dbParams issues.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jerome.vieilledent-obsolete@ez.no Jérôme Vieilledent (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h