Skip to content

Nested Discriminators #17

@mmmasent

Description

@mmmasent

Yardarm does not correctly parse discriminators for a nest set of abstracts:

AbstractA
ImplementationB: AbstractA

AbstractC: AbstractA
ImplementationD: AbstractC

Yardarm will currently parse that as:

IA
ImpelemntationB: IA

C: IA
ImplementationD: C

Since C is not cast to an interface, it will not get the discriminator attribute to map subsets of C. Instead, only the discriminator for AbstractA is created and parsing any further than the top level abstract level is difficult.

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