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

perf(core): improve result mapping and snapshotting #4053

Merged
merged 1 commit into from
Feb 16, 2023
Merged

Conversation

B4nan
Copy link
Member

@B4nan B4nan commented Feb 16, 2023

Previously we had to snapshot the entity after it was loaded from database and hydrated, because the data could be in a different format (e.g. due to joined strategy). This is now improved and the snapshotting is no longer needed.

This has a nice side effect, custom types "to db" methods are no longer triggered after entity gets loaded, only the "from db" ones are.

Previously we had to snapshot the entity after it was loaded from database
and hydrated, because the data could be in a different format (e.g. due to
joined strategy). This is now improved and the snapshotting is no longer
needed.

This has a nice side effect, custom types "to db" methods are no longer
triggered after entity gets loaded, only the "from db" ones are.
@B4nan B4nan merged commit 8bb0268 into master Feb 16, 2023
@B4nan B4nan deleted the skip-snapshot branch February 16, 2023 21:52
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.

None yet

1 participant