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

Make template interpolation configurable in @sakuli/commons #150

Closed
tnobody opened this issue Jul 9, 2019 · 0 comments
Closed

Make template interpolation configurable in @sakuli/commons #150

tnobody opened this issue Jul 9, 2019 · 0 comments
Assignees
Labels
DONE Issue is finished, but not yet merged into master Type: Enhancement New feature or request
Milestone

Comments

@tnobody
Copy link
Contributor

tnobody commented Jul 9, 2019

Short overview

@sakuli/commons provides a handy template rendering function to which currently hardcoded interpolates values which are escaped by ${...} to interpolate values from other properties #51.

Use case

Reuse Template functions for other interpolation scenarios than ${...}

Detailed description

We will introduce a second parameter which allows the manual setting of an interpolation RegEx, which has the current interpolation as default value.

@tnobody tnobody added IN PROGRESS Issue is currently in progress Type: Enhancement New feature or request labels Jul 9, 2019
@tnobody tnobody self-assigned this Jul 9, 2019
@tnobody tnobody added this to the v2.1.1 milestone Jul 9, 2019
tnobody added a commit that referenced this issue Jul 9, 2019
…olation

(#150) introduce interpolation parameter
@s1hofmann s1hofmann added DONE Issue is finished, but not yet merged into master and removed IN PROGRESS Issue is currently in progress labels Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DONE Issue is finished, but not yet merged into master Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants