Skip to content

Conversation

@zxch3n
Copy link
Member

@zxch3n zxch3n commented Dec 13, 2025

  • Add schema.Any(options) to defer container decisions to Mirror at runtime
  • Support per-Any inference overrides (defaultLoroText, defaultMovableList); Any defaults defaultLoroText=false to keep primitive
    strings
  • Propagate Any inference settings down inferred container subtrees (registry tracks per-container defaults)
  • Fix inference/diff/apply pipeline to consistently create containers for inferred values (incl. Text in lists) and to respect per-
    subtree defaults
  • Improve MovableList behavior without schema:
    • diffMovableListByIndex now falls back to $cid as an implicit idSelector when all items have $cid, enabling complex move
      detection
    • Best-effort single-move detection remains for non-$cid items
  • Consolidate InferContainerOptions as a single exported type (src/inferOptions.ts)
  • Add/extend tests for Any inference, inferred MovableList moves, and fallback behavior; update docs to include Any usage/options

@zxch3n zxch3n merged commit 87101ec into main Dec 13, 2025
1 check passed
@github-actions github-actions bot mentioned this pull request Dec 13, 2025
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.

2 participants