-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Default schematics options with uppercase doesn't work #10371
Comments
@filipesilva @clydin Any workaround idea? I have an Angular 6 course on Wednesday, I've managed to find workarounds for all other issues remaining in CLI v6, but I don't find any solution for this one, which would be quite inconvenient. |
@hansl @Brocco @filipesilva I know it may be a low priority on your side, but it's very inconvenient during Angular courses (external templates mean switching between a lot of files, and students are lost). And everyone relying on this previously will consider this as a regression. Can you please consider fixing this for v6? I think it's a really quick fix when you know where the options are managed. Thanks. |
PR in #10570 |
fixes angular#10371 based upon PR angular#10570
fixes angular#10371 based upon PR angular#10570
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. |
Versions
Repro steps
npm install @angular/cli@next
ng new helloworld --inline-template
cd helloworld
ng g generate test
Observed behavior
Produce a component with external template.
Desired behavior
Produce a component with inline template.
Mention any other details that might be useful (optional)
I did some investigation:
ng g component test --inline-template
worksangular.json
:spec
works:skipImport
doesn't work:So I think the defaults options of
angular.json
with uppercase letters are wrongly transformed/passed to the generation command.I think it's a quick PR I can do, but I don't know where the problem happen...
The text was updated successfully, but these errors were encountered: