angular / angular/angular-cli

Smart defaults should take functions that depend on previous option values

未关闭
#13,184 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area: @angular-devkit/schematics feature feature: insufficient votes freq3: high
主要语言
TypeScript
星标
27k
派生
11.8k
平均合并
14 小时 23 分钟
30 天内合并 PR
162

描述

```
- [ ] bug report -> please search issues before submitting
- [x] feature request
```

Smart defaults are great, but they would be even more useful if they could take arbitrary functions that accept previous option values as arguments. For example, some default values I need are based on previous option values, but with different casing.

贡献指南

打开贡献指南

调研方向

首先查看 Angular CLI 现有的 smart-default 行为以及此 issue 中的选项值示例。当 defaults 可以接受接收先前选项值并生成派生值的函数(包括大小写不同的值)时,所请求的行为就完成了。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
cli
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。