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

Allow default values for custom replacement properties in templates #1814

Open
AdmiringWorm opened this issue May 6, 2019 · 1 comment
Open

Comments

@AdmiringWorm
Copy link
Member

When we are creating our own custom package templates with custom replacement properties, I think it would be useful to be able to specify a default value to be inserted if a user haven't passed in the value. (A fallback value, if you will).

The way I am thinking this could be used by the one create the template is something like this:

[[extensionId::FALLBACK_VALUE]]

or something similiar to that.

@ferventcoder
Copy link
Member

That's kind of interesting. I wonder how difficult it might be to rework this. I would see it maybe as =

@ferventcoder ferventcoder added this to the 0.10.15 milestone May 11, 2019
@gep13 gep13 modified the milestones: 0.10.15, 0.10.16 May 31, 2019
@pauby pauby modified the milestones: 0.10.16, 0.10.x May 11, 2021
@vexx32 vexx32 modified the milestones: 0.11.x, Future, Future_ Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants