ngneat/elf

in selectActiveEntity and combine the last change is not shown in the subscription

Julian-B90 opened this issue · 1 comments

Which @ngneat/elf-* package(s) are the source of the bug?

entities

Is this a regression?

Yes

Description

I have entities with activeId and i want a observable from the ActiveEntity and the UI ActiveEntity.

When i update the activeEntity the last update does not go into the subscription.

In the stackblitz you can see that the last update updateEntities(2, (entity) => ({ ...entity, name: 'Marcel' })) was not logged to the console.

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/fvvzkm?file=index.ts

Please provide the exception or error you saw

the last update doesn´t show in the subscription.

Please provide the environment you discovered this bug in

No response

Anything else?

No response

Do you want to create a pull request?

No