-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Add support for @namespace directive for components #8007
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
Comments
Could we move it over to Either way we should support this. |
@SteveSandersonMS @mkArtakMSFT @danroth27 We're getting LOTS of feedback about this gap now that components are based on namespaces. We need to do this for preview 6. |
Great, let's do it! I see it's labelled XS already. |
Is it possible to grab a task like this (or another one) to contribute? |
@isc30 thanks for your interest in contributing. You can pick any of the tasks that are labelled |
I'm not sure if this was intentional but looks like we don't really support namespace directive in component documents. To support this, we'll need to add a
ComponentNamespaceDirective
similar toComponentPageDirective
.Although the behavior of this directive isn't any different from regular Mvc/Pages, we can't use the same type because the existing
NamespaceDirective
resides inMvc.Razor.Extensions
and we can't move it over toRazor.Language
because it is not supported in 1.x apps.Note: This is a prerequisite for supporting namespace directives with usings in #5577
cc @rynowak
The text was updated successfully, but these errors were encountered: