Frontmatter
| id | 8568 |
| title | test: Verify Object-based Container Items and Deep Merging |
| state | Closed |
| labels | enhancementaitesting |
| assignees | tobiu |
| createdAt | Jan 12, 2026, 1:51 AM |
| updatedAt | Jan 12, 2026, 2:08 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8568 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 12, 2026, 2:08 AM |
test: Verify Object-based Container Items and Deep Merging

tobiu
Jan 12, 2026, 2:08 AM
Input from Gemini 3 Pro:
✦ I have successfully verified the object-based container items and deep merging behavior with new unit tests.
Outcomes:
- Created
test/playwright/unit/container/ItemsMerging.spec.mjs.- Core Bug Found & Fixed: Identified and fixed a bug in
Neo.setupClasswhere non-reactive config descriptors were not unwrapped in the static config (Fixed in #8569).- Confirmed that the "Proxy Config Pattern" (using a unique config like
contentItems_withmerge: 'deep') allows subclasses to deeply merge item definitions.I will now proceed with applying this pattern to the Portal containers.
tobiu assigned to @tobiu on Jan 12, 2026, 2:08 AM
tobiu closed this issue on Jan 12, 2026, 2:08 AM
Create unit tests in
test/playwright/unit/container/ItemsMerging.spec.mjsto verify:Object-based Items:
itemsas an object with keys (references) and values (item configs).Nested Merging:
itemsconfig in the subclass usingmerge: 'deep'.weight.This will validate the "Proxy Config Pattern" or any fix we implement for
Neo.setupClasshandling of reactive config descriptors.