Skip to content

Update documentation for cyclic references to include interfaces #21

@tigloo

Description

@tigloo

The documentation mentions to use cached types to deal with cyclic references. However, it lists the "interface" property as part of the first instantiation. If the interface type leads to a cyclic reference, Leto will still throw an exception.

Update the documentation so that "interface" is also removed from the first instantiation, then use "_type.inheritsFrom()" in a second step.

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