Skip to content

Self creating dependencies #34

Description

@bastianschwarz

There is a feature request to automatically add dependencies. Although I'm not a huge fan of it I understand the wish to only add the "top level providers" and have the dependencies added automatically.

  • Create a new "RecursiveDependencies" collection
  • Add the dependencies recurisvley before adding the provider
  • Check if the dependency is already added (use a diff) before the recursion
  • Create a provider factory interface to create the provider classes from the dependency class names to have at least some flexibility in how the dependencies are created
  • Create a "SimpleNew" factory implementation and set it in the "RecursiveDependencies" constructor as default

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions