Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly persist computed colums for same type #253

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Conversation

kzu
Copy link
Member

@kzu kzu commented Oct 4, 2023

We had a bug where we cached the list of properties to persist by type, without regard for the variability in PK/RK names which can be different when persisting the same entity using various key strategies for indexing purposes.

By considering these two properties as part of the cache key, we allow proper persistence as originally intended to avoid duplicating PK/RK props.

Fixes #252

We had a bug where we cached the list of properties to persist by type, without regard for the variability in PK/RK names which can be different when persisting the same entity using various key strategies for indexing purposes.

By considering these two properties as part of the cache key, we allow proper persistence as originally intended to avoid duplicating PK/RK props.

Fixes #252
@kzu kzu added the bug Something isn't working label Oct 4, 2023
@kzu kzu enabled auto-merge (rebase) October 4, 2023 14:29
@kzu kzu merged commit 6ecef07 into main Oct 4, 2023
7 checks passed
@kzu kzu deleted the dev/dynamic-pk-rk branch October 4, 2023 14:32
@devlooped devlooped locked and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KeyProperties are not being persisted properly
1 participant