bevyengine / bevyengine/bevy

Reflect everything by default & make it opt out

Open
#13,111 3 comments 0 reactions 0 assignees View on GitHub
A-ECS A-Editor A-Reflection C-Feature C-Usability M-Migration-Guide X-Needs-SME
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## What problem does this solve or what need does it fill?

It's hard to remember everything you need to reflect on & it's quite verbose to do so.

## What solution would you like?

Make derives for `Component`, `Resource`, `State`, `Asset`, `Event` also derive `Reflect` with a `#[no_reflect]` attribute to opt out.

## What alternative(s) have you considered?

Manually adding reflect to everything.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.