Skip to content

Required properties and Circular Dependencies #1380

Description

@TonyValenti

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions