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.
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.