Skip to content

No support for dotted notation in query.selectKeys() #597

@natario1

Description

@natario1

parse-server supports dotted notation in ParseQuery selectKeys.

ParseQuery query = ParseQuery.getQuery(“Post");
query.include(“author”);
query.selectKeys(Arrays.asList(“author”, “author.picture”));
// Get only the picture of the authors of these posts.

The request is sent to the server and the response is OK, but by default the Android SDK assumes that included objects are complete, returning incorrect results for various APIs and breaking a few things like #595 #596 .

Specifically the incomplete (but assumed to be complete) state will overwrite the current state for that object. So, for example, even if we have full data in memory for the “author” object, it will now have only “picture”, and even worse fetchIfNeeded() will do nothing.

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