Skip to content

Doing #[reflect(ignore)] on fields in a struct still requires Default on that field #13851

Open
@torsteingrindvik

Description

@torsteingrindvik

Bevy version

Latest: 1395e36

What you did

image

What went wrong

I couldn't ignore a field on my struct which I wanted to derive reflect on, since that field did not impl Default and I had no control over that field.

My expectation was that the field is ignored entirely with no limitations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ReflectionRuntime information about typesC-UsabilityA targeted quality-of-life change that makes Bevy easier to use

    Type

    No type

    Projects

    Status

    Open

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions