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

RequestSerialization should be virtual #34

Closed
wants to merge 2 commits into from

Conversation

FairlySadPanda
Copy link

RequestSerialization is technically a
built-in, but there's no reason to
prevent extension by developers
(or warn against it, depending on
the IDE).

An example of this usecase is
the common pattern of calling RequestSerialization() and then
OnDeserialization(). By extending
RequestSerialization we can declare
that we always will call
OnDeserialization afterwards, reducing
boilerplate.

Other examples: if we would like
to update an atomic clock by one
whenever we call RequestSerialization,
or we might want to automate assigning
ownership.

RequestSerialization is technically a
built-in, but there's no reason to 
prevent extension by developers
(or warn against it, depending on
the IDE).

An example of this usecase is
the common pattern of calling `RequestSerialization()` and then
`OnDeserialization()`. By extending
`RequestSerialization` we can declare
that we always will call 
`OnDeserialization` afterwards, reducing
boilerplate.

Other examples: if we would like
to update an atomic clock by one
whenever we call RequestSerialization,
or we might want to automate assigning
ownership.
@github-actions
Copy link

github-actions bot commented May 23, 2022

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@FairlySadPanda
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@FairlySadPanda
Copy link
Author

Closing to be a bit neater with my own fork.

@github-actions github-actions bot locked and limited conversation to collaborators May 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant