-
Notifications
You must be signed in to change notification settings - Fork 12k
feat(@schematics/angular): Allow generation of suffix-free files #16891
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
Conversation
Allow generation of suffix-free file and symbol names. Fix angular#16811
@alan-agius4 / @clydin |
@mgechev, can you give this a quick look? We're not sure exactly what you were expecting from the design perspective here. Is this what you had in mind? |
We haven't discussed design yet. My suggestion would be to deprecate the If you see corner cases, we can draft a design document. |
Something that can be fixed for the current version is the |
@dgp1130 If nobody started working on it yet then I can do the mentioned changes for "type" |
@sacgrover, I don't believe anyone else has started on this, so you're good to go! |
Currently, Component and Class have the options to add custom type. In the case of class, It's already working fine with an empty string in type but in the case of component When setting the type to an empty string the file names generated will contain an extra period (.) which breaks the flow. With this PR, It will generate the files without an extra period (.) Reference angular#16811 and angular#16891
Currently, Component and Class have the options to add custom type. In the case of class, It's already working fine with an empty string in type but in the case of component When setting the type to an empty string the file names generated will contain an extra period (.) which breaks the flow. With this PR, It will generate the files without an extra period (.) Reference angular#16811 and angular#16891
Currently, Component and Class have the options to add custom type. In the case of class, It's already working fine with an empty string in type but in the case of component When setting the type to an empty string the file names generated will contain an extra period (.) which breaks the flow. With this PR, It will generate the files without an extra period (.) Reference angular#16811 and angular#16891
Currently, Component and Class have the options to add custom type. In the case of class, It's already working fine with an empty string in type but in the case of component When setting the type to an empty string the file names generated will contain an extra period (.) which breaks the flow. With this PR, It will generate the files without an extra period (.) Reference angular#16811 and angular#16891
Closing as the work for this is progressing in the above mentioned PR. |
Currently, Component and Class have the options to add custom type. In the case of class, It's already working fine with an empty string in type but in the case of component When setting the type to an empty string the file names generated will contain an extra period (.) which breaks the flow. With this PR, It will generate the files without an extra period (.) Reference #16811 and #16891
Currently, Component and Class have the options to add custom type. In the case of class, It's already working fine with an empty string in type but in the case of component When setting the type to an empty string the file names generated will contain an extra period (.) which breaks the flow. With this PR, It will generate the files without an extra period (.) Reference #16811 and #16891 Fixed minor merge conflict due to the lack of d6fa2bd in the release branch. (cherry picked from commit 1c1f1cd)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Allow generation of suffix-free file and symbol names.
Fix #16811