Support require attribute in resource derive (#24322)
# Objective Resources are now components, which means that they should be capable of requiring other components. But this ability is not accessible in the derive macro. ## Solution Expose the `require` attribute in the `Resource` derive. ## Testing - Did you test these changes? If so, how? ```bash $ cargo test -p ci ``` - Are there any parts that need more testing? I'm not very familiar with the ecs internals, so additional eyes would be appreciated!
M
musjj committed
2fc8ebb7b060938717ab3005160b0e40f7d25953
Parent: ebd5f43
Committed by GitHub <noreply@github.com>
on 5/20/2026, 8:23:52 PM