Skip to content

Improve typing for relationships #12

@simoneguzzi

Description

@simoneguzzi

Relationships are now of two types: association and inheritance. This is handled using a relationshipType attribute. Relationships of a different type allow for different attributes, or different ranges for the same attribute. When this is the case, we should use interfaces and type guards to provide better typing and require less if/else logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions