Required properties and Circular Dependencies
- Dominant language
- C#
- Stars
- 4.7k
- Forks
- 846
- Avg merge
- 1d 12m
- Merged PRs (30d)
- 2
Description
## 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
Contributor guide
Research direction
No files, tests, or entry points are named. Start by locating the required-properties injection path and the existing PropertiesAutoWired handling for circular dependencies. Done means adding coverage for circular dependencies through required properties and confirming the behavior matches the existing supported path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100