Skip to content

Explanation for "level <= 2" #178

@arthurhamon

Description

@arthurhamon

Hi,

Can you tell me why on 'json-api.model.js' file, on 'getHasManyRelationship' function you have at line 157 this condition "if ( level <= 2 )" ?

Same, on 'getBelongsToRelationship' function at line 180 ( if ( level <= 2 ) ).

Why limit to 2 and not infinite ?

Thanks

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