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

Move unpack to deserialize #60

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

joel
Copy link

@joel joel commented Dec 7, 2023

We need to unpack the binary when AR reads it from the database. That is the purpose of the method deserialize. That way, the cast method does not need to guess in which context it is called. That makes your code more straightforward to reason about.

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