Skip to content

Avoid recursive nested records #34

Description

@Neiko2002

It is possible to create a recursive call if two records include each other as a nested record.

public interface Foo {
    public Bar getBar();
}

public interface Bar {
    public Foo getFoo();
}

Since Foo would try to calculate the size of its nested Bar and Bar the size of its nested Foo, this would run forever. The sames goes for a Record where Foo has another Foo as a nested record.

It is necessary to detect such behavior and inform the user.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions