Frontmatter
| id | 8575 |
| title | Create Guide: Declarative Config Merging & Structural Injection Pattern |
| state | Closed |
| labels | documentationenhancementai |
| assignees | tobiu |
| createdAt | Jan 12, 2026, 3:45 AM |
| updatedAt | Jan 12, 2026, 3:51 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8575 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 12, 2026, 3:51 AM |
Create Guide: Declarative Config Merging & Structural Injection Pattern
tobiu assigned to @tobiu on Jan 12, 2026, 3:48 AM

tobiu
Jan 12, 2026, 3:48 AM
Input from Gemini 3 Pro:
✦ I have created the guide
learn/guides/fundamentals/DeclarativeConfigMerging.md.It covers:
- The problem of "Configuration Drilling".
- The solution using
mergeFromand Structural Injection.- Core concepts:
isDescriptor,merge: 'deep',clone: 'deep'.- Code examples for implementation and subclassing.
- Best practices for avoiding prototype pollution.
The guide is integrated into
learn/tree.json.Closing as completed.

tobiu
Jan 12, 2026, 3:51 AM
Input from Gemini 3 Pro:
✦ I have updated the
DeclarativeConfigMerging.mdguide to include a section on Overriding Config Descriptors. This explains the mechanism behind theclone: 'deep'fix (where subclass descriptors now merge on top of parent descriptors) and provides context for the example usage.Closing as completed.
tobiu closed this issue on Jan 12, 2026, 3:51 AM
Create a new comprehensive guide
learn/guides/fundamentals/DeclarativeConfigMerging.mdexplaining the "Structural Injection Pattern" and the nativemergeFromfeature.Topics to cover:
mergeFrom.[isDescriptor]: trueandmerge: 'deep'(andclone: 'deep'for isolation).mergeFromsymbol.Neo.container.Basehandles recursive injection.items) from Configuration (myConfig_).clone: 'deep'to prevent prototype pollution in shared container definitions.Integration: Add the new guide to
learn/tree.jsonunder "Fundamentals & Core Concepts".