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

Support resolving config #25

Merged
merged 6 commits into from
Nov 22, 2023
Merged

Support resolving config #25

merged 6 commits into from
Nov 22, 2023

Conversation

tmccombs
Copy link
Contributor

@tmccombs tmccombs commented Nov 22, 2023

Support resolving configuration in output

Also support disabling comments if desired.

At one point there was some problem with calling resolve on the configuration before rendering.

But that was several versions of the hocon library ago, and I haven't been able to find a case where
the output after calling resolve produces unexpected output. And my archaelogy hasn't been able to
discover the exact scenario that caused me to decide not to do the resolution before rendering.

Just in case it does cause issues, I have made it configurable, so resolving references can be
disabled if needed.

@tmccombs tmccombs force-pushed the support-resolving-config branch from 82e1931 to 7d25f30 Compare November 22, 2023 07:37
Also support disabling comments if desired.

At one point there was some problem with calling resolve on the configuration before rendering.

But that was several versions of the hocon library ago, and I haven't been able to find a case where
the output after calling resolve produces unexpected output. And my archaelogy hasn't been able to
discover the exact scenario that caused me to decide not to do the resolution before rendering.

Just in case it does cause issues, I have made it configurable, so resolving references can be
disabled if needed.
@tmccombs tmccombs force-pushed the support-resolving-config branch from 7d25f30 to c1e5d61 Compare November 22, 2023 07:41
@DavidANeil DavidANeil self-assigned this Nov 22, 2023
@tmccombs tmccombs merged commit 8d73b10 into master Nov 22, 2023
2 checks passed
@tmccombs tmccombs deleted the support-resolving-config branch November 22, 2023 21:29
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.

2 participants