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

Fallback to use ActivatorUtilities to create controller from type, if… #13910

Conversation

bergmania
Copy link
Member

Fixes #13836

Summary

Controllers cannot be resolved from DI if they are not registred. Therefore we have to fall back to use ActivatorUtilities

Tests

@Zeegaan
Copy link
Member

Zeegaan commented Mar 7, 2023

Looks good, tests good 🚀

@Zeegaan Zeegaan merged commit e2a15b5 into contrib Mar 7, 2023
@Zeegaan Zeegaan deleted the v10/bugfix/13836_fallback_to_ActivatorUtilities_when_creating_controller_from_type branch March 7, 2023 10:21
Zeegaan pushed a commit that referenced this pull request Mar 7, 2023
@Zeegaan
Copy link
Member

Zeegaan commented Mar 7, 2023

Cherry-picked for 10.5 🍒

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.

BeginUmbracoForm in custom routes still doesn't work
2 participants