Skip to content

fix: strip _ aliases from external denful to prevent include duplication#402

Merged
sini merged 1 commit intodenful:mainfrom
sini:fix/issue-400-namespace-include-duplication
Apr 8, 2026
Merged

fix: strip _ aliases from external denful to prevent include duplication#402
sini merged 1 commit intodenful:mainfrom
sini:fix/issue-400-namespace-include-duplication

Conversation

@sini
Copy link
Copy Markdown
Collaborator

@sini sini commented Apr 8, 2026

When an external namespace's evaluated config is re-imported via den.namespace, both _ and provides contain identical content due to the _ → provides alias in aspectSubmodule. The module system merges both paths, causing listOf options like includes to duplicate entries.

Strip _ from external denful configs before assignment to den.ful.

Fixes #400

When an external namespace's evaluated config is re-imported via
den.namespace, both _ and provides contain identical content due to
the _ → provides alias in aspectSubmodule. The module system merges
both paths, causing listOf options like includes to duplicate entries.

Strip _ from external denful configs before assignment to den.ful.

Fixes denful#400
@sini sini requested a review from vic April 8, 2026 15:18
@vic vic added the allow-ci allow all CI integration tests label Apr 8, 2026
@sini sini merged commit 13ad634 into denful:main Apr 8, 2026
16 of 19 checks passed
@sini sini deleted the fix/issue-400-namespace-include-duplication branch April 8, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted allow-ci allow all CI integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Providers that include parametric aspects are evaluated twice when imported

2 participants