Skip to content

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

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

sini merged 1 commit into
denful:mainfrom
sini:fix/issue-400-namespace-include-duplication

Conversation

@sini

@sini sini commented Apr 8, 2026

Copy link
Copy Markdown
Collaborator

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
@vic vic added the super-autocompleted "Artificial Intelligence" terms nothing real, "Super Intelligence" is even more of a lie. label Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

allow-ci allow all CI integration tests super-autocompleted "Artificial Intelligence" terms nothing real, "Super Intelligence" is even more of a lie.

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