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
Which @ngneat/elf-* package(s) are the source of the bug?
entities
Is this a regression?
No
Description
I tried using selectEntityByPredicate to find which entity is now isFavorite: true. It can only be one favorite entity at a time. But once an entity is selected, it never becomes unselected, even if it should be (by predicate). Other methods like selectManyByPredicate and selectAllEntitiesApply work correctly and dynamically. Perhaps this behavior was intended for selectEntityByPredicate?
Please provide a link to a minimal reproduction of the bug
Which @ngneat/elf-* package(s) are the source of the bug?
entities
Is this a regression?
No
Description
I tried using
selectEntityByPredicate
to find which entity is nowisFavorite: true
. It can only be one favorite entity at a time. But once an entity isselected
, it never becomesunselected
, even if it should be (by predicate). Other methods likeselectManyByPredicate
andselectAllEntitiesApply
work correctly and dynamically. Perhaps this behavior was intended forselectEntityByPredicate
?Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/vitejs-vite-j8nt1x?file=src%2Fmain.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: