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

Variables are not resolved using dictionary key-value mappings #80

Open
mariusoe opened this issue Nov 22, 2018 · 0 comments · May be fixed by #84
Open

Variables are not resolved using dictionary key-value mappings #80

mariusoe opened this issue Nov 22, 2018 · 0 comments · May be fixed by #84
Assignees

Comments

@mariusoe
Copy link

I have the problem that when I'm using variables inside a value of the dictionary property, that these will not be resolved. Variables will only be resolved in the "fallback" case.

Example:

translate {
	...
	dictionary => {
		"myKey" => "value-%{+YYYY.MM}"
	}
	fallback => "fallback-%{+YYYY.MM}"
}

The configuration above, is producing the following output in case the dictionary element is matching: value-%{+YYYY.MM} - so the date format is not resolved.
In the fallback scenario, the output would be fallback-2018.11 (as an example) which I expected to be.

It would be great if the key-value elements (the values like in the example above) would also resolve variables like in the fallback case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants