Skip to content

Invalid key name: $relatedTo with Parse.Query.and #4785

@elios264

Description

@elios264

Issue Description

Parse server is rejecting Parse.Query.and queries in conjution with relations, Parse.Query.or is working correctly.

my usecase is sending a push notification with complex query. therefore I need the Parse.Query.and

usecase

Steps to reproduce

Not working:
relations not working with and query

Working:

or is working

Expected Results

$relatedTo to be supported.

Actual Outcome

an exception.

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) : 2.7.4
    • Operating System: windows
    • Hardware: my pc
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): local
  • Database

    • MongoDB version: n/a
    • Storage engine: n/a
    • Hardware: n/a
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): mLab

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions