Skip to content

Feature: nested struct shall be considered too #4

Open
@0cv

Description

@0cv

given

#[derive(FieldNamesAsArray)]
struct StructA {
   a: String,
   b: StructB
}

struct StructB {
   c: String,
   d: String
}

We shall have this:
assert_eq!(StructA::FIELD_NAMES_AS_ARRAY, ["a", "b.c", "b.d"]);

But at the moment we have:
assert_eq!(StructA::FIELD_NAMES_AS_ARRAY, ["a", "b"]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions