Skip to content
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

Schematics file name templates should support more complex variable types #12446

Open
natsid opened this issue Oct 2, 2018 · 2 comments
Open
Labels
area: devkit/schematics feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors feature Issue that requests a new feature severity2: inconvenient
Milestone

Comments

@natsid
Copy link

natsid commented Oct 2, 2018

Bug Report or Feature Request (mark with an x)

- [ ] bug report
- [x] feature request for Schematics

Desired functionality

Would like to be able to refer to objects (and access their fields) in file name templates. For example, I have a Name class with several different formats of a name. I'd like to be able to refer to them like __name.snake__.ts in file (and directory) name templates.

My case in particular is for referencing objects, but what about other things like accessing an element of a list (__fileNames[0]__.ts), and so on? Supporting other complex types might also be useful.

@ngbot ngbot bot added this to the Backlog milestone Oct 2, 2018
hansl added a commit to hansl/angular-cli that referenced this issue Oct 2, 2018
…y accessors

Path templates now allow dots (".") to be used to access properties.

Fixes angular#12446
@angular-robot angular-robot bot added the feature: votes required Feature request which is currently still in the voting phase label Feb 1, 2022
@angular-robot
Copy link
Contributor

angular-robot bot commented Feb 1, 2022

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

@ngbot ngbot bot modified the milestones: Backlog, needsTriage Feb 1, 2022
@angular-robot
Copy link
Contributor

angular-robot bot commented Feb 21, 2022

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.

@angular-robot angular-robot bot added feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors and removed feature: votes required Feature request which is currently still in the voting phase labels Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: devkit/schematics feature: insufficient votes Label to add when the not a sufficient number of votes or comments from unique authors feature Issue that requests a new feature severity2: inconvenient
Projects
None yet
Development

No branches or pull requests

2 participants