Skip to content

Fix entity not removing from in-memory store index - #441

Merged
DZakh merged 3 commits into
mainfrom
dz/fix-index-removal
Jan 30, 2025
Merged

DZakh merged 3 commits into
mainfrom
dz/fix-index-removal

Conversation

@DZakh

@DZakh DZakh commented Jan 29, 2025 •

Copy link
Copy Markdown
Member

@DZakh
DZakh requested a review from JonoPrest January 29, 2025 18:04
if previous_values.latest.eventIdentifier == entityUpdate.eventIdentifier &&
shouldSaveHistory =>
if shouldSaveHistory &&
previous_values.latest.eventIdentifier == entityUpdate.eventIdentifier =>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can improve this equality check as well I think.

@JonoPrest JonoPrest left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@DZakh
DZakh enabled auto-merge (squash) January 30, 2025 11:02
@DZakh
DZakh merged commit c67d116 into main Jan 30, 2025
@DZakh
DZakh deleted the dz/fix-index-removal branch January 30, 2025 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants