Skip to content

Migrator does not resolve dependencies through IoC container #7927

@tpavlek

Description

@tpavlek

One cannot typehint dependencies on either the constructor nor use method injection in a migration file. This seems like an arbitrary difference from the rest of the framework, but if there's a particular reason why dependencies cannot be resolved, it should be documented.

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