Skip to content

Details of pointers in arrays are included by default causing infinite loop #3619

Closed
@adefokun

Description

@adefokun

I noticed that the details of pointers in arrays are included by default, I do not have to use "include".

var interestAreasQuery = new Parse.Query("InterestArea");
interestAreasQuery.find().then(function(result){
   console.log(result);
}}

IntrestedArea has an interest key, which is an array of pointers. The details of each pointer is included. And because interest has a pointer interestedArea, the pointer details is also included and the leads to infinite loop. In a situation like this JSON.stringify(result) renders the application unresponsive.

I should be able to opt to include the keys that I want.

Parse Server version: ^2.3.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions