mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
18833fa67c
# Objective - This PR makes it so that `ReflectSerialize` and `ReflectDeserialize` traits are properly derived on `Name`. This avoids having the internal hash “leak” into the serialization when using reflection. ## Solution - Added a conditional derive for `ReflectDeserialize` and `ReflectSerialize` via `#[cfg_attr()]` --- ## Changelog - `Name` now implements `ReflectDeserialize` and `ReflectSerialize` whenever the `serialize` feature is enabled. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |