Skip to content

Support typed attributes #5

@flaxed

Description

@flaxed

Support attributes with typed structure, instead of just supporting attributes based on primitive types.

An extension of #4, but because of its possible impact on the project, it should be considered more carefully.

Example (with placeholder syntax):

struct complex_data
{
   foo: { type: bool }
   bar: { type: float32 }
}

attribute complex_attr
{
  type: complex_data
}

struct some_thing
{
  complex_attr: { foo: true, bar: 20 }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeature suggestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions