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

Add IObjectResolver.CreateInstance #607

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Add IObjectResolver.CreateInstance #607

merged 1 commit into from
Jan 3, 2024

Conversation

hadashiA
Copy link
Owner

@hadashiA hadashiA commented Jan 2, 2024

Add IObjectResolver.CreateInstance().

Note:
I used to be very negative about introducing this functionality.
One of the reasons I created VContainer was because I wanted a constraint to prevent DI abuse.

The main reason for adding this now is because of the library I'm creating.
container.Register(c => ...) I needed to hide the instantiation when registering styles.

Copy link

vercel bot commented Jan 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vcontainer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2024 9:01am

@hadashiA hadashiA merged commit 986dc8a into master Jan 3, 2024
12 checks passed
@hadashiA hadashiA deleted the ku/create-instance branch January 3, 2024 03:41
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