Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Improve exception message #1

@BenMorel

Description

@BenMorel

When a property has a type that's not been registered in the Container and that's not marked as #[Inject], we get an exception message that's slightly misleading:

The property App\Controller\Admin\MappingController::$mappingRepository could not be resolved

It would be nice to add an informational message like:

type App\Repository\MappingRepository has not been registered in the Container, and is not marked as injectable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions