Skip to content

test(ecs): complex sort index sample — orderedChildOf with nested parent + FractionalIndex#121

Merged
krisnye merged 2 commits into
mainfrom
krisnye/sample-complex-sort-index
Jun 8, 2026
Merged

test(ecs): complex sort index sample — orderedChildOf with nested parent + FractionalIndex#121
krisnye merged 2 commits into
mainfrom
krisnye/sample-complex-sort-index

Conversation

@krisnye

@krisnye krisnye commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds a database.index.test.ts describe block demonstrating the index API for a component that bundles both the parent-entity reference and a fractional-index sort key in a single object component.

The index uses a computed slot-map key, components declaration, and custom compare drilled into the nested object.

Related PRs

n/a

krisnye and others added 2 commits June 8, 2026 14:07
… parent + fractional index

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ldOf component

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@krisnye krisnye merged commit 9d4c285 into main Jun 8, 2026
3 checks passed
@krisnye krisnye deleted the krisnye/sample-complex-sort-index branch June 8, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant