Skip to content

Do not use reflection if auto wiring is not enabled #9

Description

@kpicaza

Is your feature request related to a problem? Please describe.
when the auto wiring option is disabled, the container resolves automatically the factory class for the given service, this is unexpected behavior and a performance killer.

Describe the solution you'd like
there should be two options, first set the factory class as a dependency in the container, and the second option is to instantiate dynamically the factory class(assuming that it doesn't have any constructor parameters)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions