You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2025. It is now read-only.
When using the entityStore.set([x, y]) method, where x and y are duplicates, the store's ids array will contain this id 2 times (ids.push(x[idKey]); ids.push(y[idKey])), while the entities map will only contain the entity once (entities[x[idKey]] = x; entities[y[idKey]] = y).
The entity query's select methods seem to map the ids array to an array of entities by performing a lookup in this map, which causes the entity to be included 2 times, even though it is only present once in the store.
Please provide a link to a minimal reproduction of the bug