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

Remove quotes around HOCON substitutions #1133

Merged
merged 1 commit into from
Jun 9, 2024
Merged

Conversation

ljdelight
Copy link
Contributor

In HOCON, variable substitutions are not performed if the replacement part is in quotes.

From the manual:

Substitutions are not parsed inside quoted strings. To get a string containing a substitution, you must use value concatenation with the substitution in the unquoted portion:

key : ${animal.favorite} is my favorite animal

In HOCON, variable substitutions are not performed if the replacement part is in quotes.

From the manual:

Substitutions are not parsed inside quoted strings. To get a string containing a substitution, you must use value concatenation with the substitution in the unquoted portion:

key : ${animal.favorite} is my favorite animal
Copy link

sonarcloud bot commented Jun 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@ljdelight ljdelight merged commit 60fbbd8 into main Jun 9, 2024
11 checks passed
@ljdelight ljdelight deleted the ljdelight/fixHocon branch June 9, 2024 02:55
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 this pull request may close these issues.

1 participant