[schematics cli] Boolean options is parsed as a string
- Ngôn ngữ chính
- TypeScript
- Star
- 27k
- Fork
- 11.8k
- Merge trung bình
- 14 giờ 23 phút
- Pull request đã merge (30 ngày)
- 162
Mô tả
### Command
other
### Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
_No response_
### Description
I found this issue https://github.com/angular/angular-cli/issues/12150 which is closed as fixed, but now I'm using the latest version and have the same issue
### Minimal Reproduction
.
### Exception or Error
_No response_
### Your Environment
```text
"dependencies": {
"@angular-devkit/core": "^17.0.0",
"@angular-devkit/schematics": "^17.0.0",
"@nestjs/schematics": "^10.0.3",
"@schematics/angular": "^17.0.1",
"typescript": "~5.2.2"
},
"devDependencies": {
"@angular-devkit/schematics-cli": "^17.0.1",
"@types/jasmine": "~5.1.0",
"@types/node": "^18.18.0",
"jasmine": "^5.0.0",
"nodemon": "^3.0.1"
}
```
```
### Anything else relevant?
_No response_
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện hành vi của tùy chọn boolean với @angular-devkit/schematics-cli bằng các phiên bản dependency được liệt kê trong issue. Theo dõi cách Schematics CLI phân tích tùy chọn và xác minh rằng hành vi hoàn chỉnh giữ nguyên một giá trị boolean thay vì chuyển đổi nó thành chuỗi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 20/100