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.

@mockersf mockersf added the A-Core Common functionality for all bevy apps label Oct 30, 2022
@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 simple 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
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
@mockersf mockersf added the hacktoberfest-accepted A PR that was accepted for Hacktoberfest, an annual open source event label Nov 1, 2022
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
A-Core Common functionality for all bevy apps C-Usability A simple quality-of-life change that makes Bevy easier to use hacktoberfest-accepted A PR that was accepted for Hacktoberfest, an annual open source event 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.

None yet

3 participants