Services which cannot be initialised break generation

Created on 10 January 2023, almost 2 years ago
Updated 2 June 2023, over 1 year ago

Problem/Motivation

The monolog project includes a service which crashes when you try to invoke it without the Composer dependency 🐛 Dont include services for formatters when its dependencies are not met Fixed

Steps to reproduce

Install and enable this project and Monolog.

Metadata generation is paused, and error is displayed

An error occurred during file generation:

Proposed resolution

Rework command to not initialise services, can we statically look up ID -> class mappings then use reflection?

Remaining tasks

Decide, implement.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇦🇺Australia dpi Perth, Australia

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024