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

internal/config: walk the graph and merge configuration #98

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

seilagamo
Copy link
Collaborator

This PR adds the functionality to walk the graph representing the configuration and resolve the final configuration by merging the included configuration files every time a node is visited.

@seilagamo seilagamo requested a review from jroimartin February 3, 2025 08:33
internal/config/testdata/include/common.yaml Outdated Show resolved Hide resolved
internal/config/testdata/include/common_a.yaml Outdated Show resolved Hide resolved
internal/config/testdata/include/no_includes.yaml Outdated Show resolved Hide resolved
internal/config/dag/dag.go Outdated Show resolved Hide resolved
internal/config/configgraph.go Outdated Show resolved Hide resolved
internal/config/configgraph_test.go Outdated Show resolved Hide resolved
@seilagamo seilagamo requested a review from jroimartin February 12, 2025 10:24
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