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

Allow overriding of lifetime #298

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow overriding of lifetime #298

wants to merge 1 commit into from

Conversation

samcragg
Copy link

We have an issue where we're scanning the assemblies but certain types that implement an interface have to be registered as PerContainerLifetime. We got around it by scanning the assemblies twice using the overloads with a predicate, however, looked like a simple change could be made to allow the Override method to be used.

Hope it's ok - let me know if you want me to make any changes.

Changed where the processing of overrides happens to allow the selection
of the emit method to happen after the service request has been updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant