Skip to content

Duplicates in Identifier Cache #2255

@CraigHarley

Description

@CraigHarley

Bug report

  • I've checked documentation and searched for existing issues and discussions
  • I've made sure my project is based on the latest MST version
  • Fork this code sandbox or another minimal reproduction.

Unfortunately, not able to reproduce this (it happens in a closed source project - but it seems to happen when attempting to replace a stores data).

Describe the expected behavior

Should replace values in identifier cache without duplicates.

Describe the observed behavior

Error:
Image

Forked MST so I could add logging:

Image Image

If I drill into the two items, they're both basically identical - but they have different states 🤔

Image Image

Any help would be appreciated.

The project is a NextJS app with the stores in a TurboRepo internal package (the problems started when I moved the stores to an internal package).

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reproduction/infoNeeds more info or reproduction in order to fix it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions