Use Container injection for the endpoint controller rather than the Drupal Service

Created on 22 August 2023, 10 months ago

Currently we use \Drupal::service() for the endpoint controller. This should be updated to use container injection instead so that we avoid unnecessary chained calls and improve performance and resource utilization. This will also aid in extensibility as we are not referencing the core service directly.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States moxojo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024