Skip to content

Maybe need lazy AddPlugin #111

Answered by mythz
1257960069 asked this question in Q&A
Feb 29, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

That wouldn't solve anything. The generated Services need to be generated before the IOC is built and dependencies can't be resolved before IOC is built so you can't use the IOC to resolve the IDbConnectionFactory dependency, i.e. it needs to be populated and resolved outside of the IOC.

We're not changing how plugins work, since it needs to remain backwards compatible and work when not using ASP .NET Core IOC.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mythz
Comment options

@1257960069
Comment options

@mythz
Comment options

Answer selected by 1257960069
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants