Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required properties and Circular Dependencies #1380

Open
TonyValenti opened this issue May 26, 2023 · 2 comments
Open

Required properties and Circular Dependencies #1380

TonyValenti opened this issue May 26, 2023 · 2 comments

Comments

@TonyValenti
Copy link

Problem Statement

AutoFac can resolve circular dependencies when PropertiesAutoWired = true but it cannot when using required properties.

This seems like a minor oversight on the required properties implementation. Injecting into required properties should be able to resolve circular dependencies.

Desired Solution

AutoFac can resolve circular dependencies for required properties.

Alternatives You've Considered

Leave things as-is.

Additional Context

@tillig @alistairjevans

@TonyValenti
Copy link
Author

Any chance this could get added sometime?

@tillig
Copy link
Member

tillig commented Aug 12, 2023

If you're in a hurry, you can always submit a PR.

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

No branches or pull requests

2 participants