Skip to content

Recursive loops may occur during resolution #28

@emetsger

Description

@emetsger

Models may introduce loops when resolving relationships:

@type(...)
class Node {
@relationship(...)
Node parent;
// etc.
}

If the JSON for this Node has a parent relationship pointing to itself, the stack blows.

Even if the author makes poor modeling decisions, probably some protections should be put in place to avoid blowing the stack.

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