# Objective - Reflecting `Default` is required for scripts to create `Reflect` types at runtime with no static type information. - Reflecting `Default` on `Handle<T>` and `ComputedVisibility` should allow scripts from `bevy_mod_js_scripting` to actually spawn sprites from scratch, without needing any hand-holding from the host-game. ## Solution - Derive `ReflectDefault` for `Handle<T>` and `ComputedVisiblity`. --- ## Changelog > This section is optional. If this was a trivial fix, or has no externally-visible impact, you can delete this section. - The `Default` trait is now reflected for `Handle<T>` and `ComputedVisibility` |
||
|---|---|---|
| .. | ||
| diagnostic | ||
| io | ||
| asset_server.rs | ||
| assets.rs | ||
| debug_asset_server.rs | ||
| filesystem_watcher.rs | ||
| handle.rs | ||
| info.rs | ||
| lib.rs | ||
| loader.rs | ||
| path.rs | ||