Skip to content

feat(ctx): Allow transformations into nested contexts#260

Merged
vic merged 1 commit intomainfrom
ctx
Mar 11, 2026
Merged

feat(ctx): Allow transformations into nested contexts#260
vic merged 1 commit intomainfrom
ctx

Conversation

@vic
Copy link
Copy Markdown
Member

@vic vic commented Mar 11, 2026

In preparation for denful nested contexts.

Previously, in den.ctx:

We had simple one-flat level transformations:

den.ctx.foo.into.bar = fooDataTransformIntoBar;

den.ctx.bar._.bar = aspectResponsibleToConfigureBar;

den.ctx.foo._.bar = aspectContributionFromFoo;

Denful has nested aspect scopes, since den.ctx are an specialized kind of aspect, it
now supports nested context transformations (in adition to flat one we currently use in hm/hjem/maid)

den.ctx.foo.into = fooCtx: { x.y.z = fooDataTramsformIntoZ fooCtx; };

den.ctx.x.y.z._.z = aspectConfiguringZ;

den.ctx.foo._."x.y.z" = aspectContributionFromFoo;

@vic vic added the allow-ci allow all CI integration tests label Mar 11, 2026
@vic vic merged commit 1751a01 into main Mar 11, 2026
12 checks passed
@vic vic deleted the ctx branch March 11, 2026 16:25
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant