Skip to content

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

@Julian-B90

Description

@Julian-B90

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions