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

bevy_reflect: Add ReflectSerializerProcessor #15548

Draft
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

aecsocket
Copy link
Contributor

NOTE: This is based on, and should be merged alongside, #15482. I'll leave this in draft until that PR is merged.

Objective

Equivalent of #15482 but for serialization. See that issue for the motivation.

Also part of this tracking issue: #15518

This PR is non-breaking, just like the deserializer PR (because the new type parameter P has a default P = ()).

Solution

Identical solution to the deserializer PR.

Testing

Added unit tests and a very comprehensive doc test outlining a clear example and use case.

@alice-i-cecile alice-i-cecile added C-Feature A new feature, making something new possible A-Reflection Runtime information about types S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Sep 30, 2024
wip: reflect serializer processor

wip: ser tests

serialize processor unit tests

serializer processor doc tests

fix doc tests

fix doc

fix newlines on windows

please ci i beg you
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Reflection Runtime information about types C-Feature A new feature, making something new possible S-Needs-Review Needs reviewer attention (from anyone!) to move forward
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants