patternTip
Testing related entries merge with user provided IDs
Viewed 1 times
mergededuplicatebidirectionalfts
Problem
When submitting entries with user-provided related_entries, the auto-discovery should merge them rather than overwrite them entirely.
Solution
The insertEntry function now merges user-provided related_entries with auto-discovered ones via FTS, deduplicating and capping at 10 entries total for bounded growth.
Why
User intent should be preserved. Auto-discovery is additive, not destructive.
Revisions (0)
No revisions yet.