-
-
Notifications
You must be signed in to change notification settings - Fork 202
Add Field Dependency Resolution to Store #9328
Copy link
Copy link
Closed
Labels
Description
Currently, in "Turbo Mode" (autoInitRecords: false), calculated fields that depend on other calculated fields require complex, boilerplate fallback logic (like manual reduce operations) to prevent massive performance bottlenecks during "Soft Hydration" sorting.
The Solution:
- Engine Enhancement: Introduce a
depends: []config forNeo.data.Modelfields. - Update
Store.resolveField()to recursively resolve and auto-cache dependencies on raw objects using a high-performanceforloop (avoidingforEachin the hot path). - Update the JSDoc in
Model.mjsandStore.mjsto document this new architecture for the AI Knowledge Base.
Reactions are currently unavailable