Skip to content

Fix temporal lookups that bring back deleted records - #372

Merged
techmahedy merged 1 commit into
doppar:4.xfrom
techmahedy:issue-4.x
Oct 17, 2026
Merged

techmahedy merged 1 commit into
doppar:4.xfrom
techmahedy:issue-4.x

Conversation

@techmahedy

Copy link
Copy Markdown
Member

Pull Request Checklist

Q A
Branch? 4.x
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Description

Point-in-time lookups on a #[Temporal] model could return a record that had already been deleted. They skipped the deleted history row and returned the older, still-alive snapshot. This PR makes them look at the latest history row first and return nothing when that row is a deletion.

@techmahedy
techmahedy merged commit 312a43b into doppar:4.x Oct 17, 2026
16 checks passed
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.

1 participant