Repository navigation
feat: forward provides children onto nested aspects - #547
Merged
Merged
Conversation
aspectContentType now forwards provides children onto the content wrapper, matching mergeWithAspectMeta behavior for root aspects. This lets aspect.child.monitoring resolve to aspect.child.provides.monitoring.
vic
force-pushed
the
feat/nested-provides-forwarding
branch
from
May 15, 2026 22:16
e8633b3 to
53c140c
Compare
vic
enabled auto-merge (squash)
May 15, 2026 22:20
vic
approved these changes
May 15, 2026
vic
disabled auto-merge
May 15, 2026 22:30
charlesfire
pushed a commit
to charlesfire/den
that referenced
this pull request
May 16, 2026
## Summary - `aspectContentType` now forwards `provides` children onto the content wrapper, matching `mergeWithAspectMeta` behavior for root aspects - `den.aspects.parent.child.monitoring` now resolves to `den.aspects.parent.child.provides.monitoring` - Sets `__providesForwarded` so the pipeline can distinguish forwarded keys from direct freeform keys ## Test plan - [x] `test-nested-provides-access` — forwarded provides child accessible directly - [x] `test-nested-self-provide` — self-provide still works on nested aspects - [x] `test-nested-provides-direct-wins` — direct freeform keys override forwarded provides - [x] `test-nested-provides-multiple` — multiple provides children forwarded - [x] Full CI: 813/813 passing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
aspectContentTypenow forwardsprovideschildren onto the content wrapper, matchingmergeWithAspectMetabehavior for root aspectsden.aspects.parent.child.monitoringnow resolves toden.aspects.parent.child.provides.monitoring__providesForwardedso the pipeline can distinguish forwarded keys from direct freeform keysTest plan
test-nested-provides-access— forwarded provides child accessible directlytest-nested-self-provide— self-provide still works on nested aspectstest-nested-provides-direct-wins— direct freeform keys override forwarded providestest-nested-provides-multiple— multiple provides children forwarded