Skip to content

DeclarativeContainer need to be define in order ? #207

@wiryonolau

Description

@wiryonolau

Hi,
I'm grouping provider to Service, Repository and Adapter, the group provider is extending DeclarativeContainer.

I have this dependency:
"Service A" require "Repository A"
"Repository A" require "Adapter A" and "Service B"

"Repository A" cannot be created because Repository class is define before Service class, is this how it suppose to work ? Is it possible to handle this using DynamicDeclarative

I'm using Ubuntu 16.04, Python 3.5.2, dependency_injector 3.12.4

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions