Skip to content

App::resolveMethodDependencies 函数BUG #441

@LLoyou00

Description

@LLoyou00

Image

Image

Image

Image

如上图所示,我在 action 参数中注入一个 Foo 实例,Foo 的构造函数需要两个参数,所以我在 dependence 中定义了 Foo 的工厂函数用来对 Foo 进行实例化,但实际上,Image 根据这里的逻辑,这个工厂函数不会被调用。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions