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.
Is this a regression?
No
Description
when calling upsertMany on a store with an array of two objects having the same id attribute, two entries are added.
I would expect duplicates not to appear after the operation.
To reproduce, take todo example and in TodoService replace
this.todosStore.add(todo);
with
this.todosStore.upsertMany([todo, todo]);
By analyzing the store there is a single entity, but two ids having the same value:
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/akita-todos-app-yvyiiz?file=src/app/todos/state/todos.service.ts
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in
No response
Anything else?
No response
Do you want to create a pull request?
No
The text was updated successfully, but these errors were encountered: