leto icon indicating copy to clipboard operation
leto copied to clipboard

Update documentation for cyclic references to include interfaces

Open tigloo opened this issue 1 year ago • 0 comments

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.

tigloo avatar Jan 11 '24 06:01 tigloo