angular / angular/angular-cli

Smart defaults should take functions that depend on previous option values

Open
#13,184 2 comments 0 reactions 0 assignees View on GitHub
area: @angular-devkit/schematics feature feature: insufficient votes freq3: high
Dominant language
TypeScript
Stars
27k
Forks
11.8k
Avg merge
14h 23m
Merged PRs (30d)
162

Description

```
- [ ] 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.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Angular CLI's existing smart-default behavior and the option-value example in this issue. The requested behavior is complete when defaults can accept functions that receive previous option values and produce derived values, including values with different casing.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.