Skip to content

Including all nested ParseObjects two levels deep. #31

Answered by cbaker6
vdkdamian asked this question in Q&A
Discussion options

You must be logged in to vote

This is expected behavior and one level deep is listed in the documentation. The server currently only allows 1-deep. You can see my comments and discussion about this with relevant links here: parse-community#359 (comment)

If you want to go multiple layers deep, i.e 3-deep, and you know where you want to stop, use:

// Each of these are a Parse Pointer
.include("1deep.2deep.3deep", "field2", etc.)

Note, if the server ever enables this type of feature, there's a potential for infinite loops as the client SDK's are what has protected against cycles historically, not the server. All clients have their own specific designs for detecting cycles (for example, the Swift SDK is nothing like the o…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@cbaker6
Comment options

@vdkdamian
Comment options

@vdkdamian
Comment options

@cbaker6
Comment options

@vdkdamian
Comment options

Answer selected by cbaker6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants