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

[Merged by Bors] - Add serialize feature to bevy_core #6423

Closed
wants to merge 1 commit into from

Conversation

Shatur
Copy link
Contributor

@Shatur Shatur commented Oct 30, 2022

Objective

bevy_core is missing a feature corresponding to the serialize feature on the bevy crate. Similar to #6378 and #6379 to serialize Name easily.

Solution

Add this feature and hand-written serialization for Name (to avoid storing hash field).


Changelog

Added

  • Serialize and Deserialize derives for Name under serialize feature.

@Shatur Shatur force-pushed the bevy-core-serialize branch from 40e6840 to 1b7d521 Compare October 30, 2022 13:22
@Shatur Shatur force-pushed the bevy-core-serialize branch from 1b7d521 to 207f904 Compare October 30, 2022 14:18
@Shatur Shatur requested a review from mockersf October 30, 2022 14:26
Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it C-Usability A targeted quality-of-life change that makes Bevy easier to use labels Oct 31, 2022
@bors
Copy link
Contributor

bors bot commented Oct 31, 2022

Merge conflict.

@alice-i-cecile
Copy link
Member

@Shatur once the merge conflicts are fixed I'll merge.

@Shatur Shatur force-pushed the bevy-core-serialize branch from 207f904 to 84f7df8 Compare October 31, 2022 19:54
@Shatur
Copy link
Contributor Author

Shatur commented Oct 31, 2022

@alice-i-cecile fixed!

@alice-i-cecile
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Oct 31, 2022
# Objective

`bevy_core` is missing a feature corresponding to the `serialize` feature on the `bevy` crate. Similar to #6378 and #6379 to serialize `Name` easily.

## Solution

Add this feature and hand-written serialization for `Name` (to avoid storing `hash` field).

---

## Changelog

### Added

* `Serialize` and `Deserialize` derives for `Name` under `serialize` feature.
@bors bors bot changed the title Add serialize feature to bevy_core [Merged by Bors] - Add serialize feature to bevy_core Oct 31, 2022
@bors bors bot closed this Oct 31, 2022
@Shatur Shatur deleted the bevy-core-serialize branch October 31, 2022 21:39
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
# Objective

`bevy_core` is missing a feature corresponding to the `serialize` feature on the `bevy` crate. Similar to bevyengine#6378 and bevyengine#6379 to serialize `Name` easily.

## Solution

Add this feature and hand-written serialization for `Name` (to avoid storing `hash` field).

---

## Changelog

### Added

* `Serialize` and `Deserialize` derives for `Name` under `serialize` feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Usability A targeted quality-of-life change that makes Bevy easier to use S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants