You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that subscribing to a live query with the constraint $in (containsAll and containedIn wirth the JS SDK) doesn't work, at least when the key's value is of type Array.
Steps to reproduce
Subscribe to a query with a containedIn constraint, where the key to constrain as a value of type Array.
Actual Outcome
The subscription works but when an object is deleted/created/updated it doesn't return it.
Expected Outcome
I expect Parse to return any created/deleted/updated object falling into the boudaries of the subscribed query.
Environment
Server
Parse Server version: 5.4.0
Operating system: Linux
Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): Local
Database
System (MongoDB or Postgres): MongoDB
Database version: 4.12.0
Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): AWS
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
New Issue Checklist
Issue Description
It seems that subscribing to a live query with the constraint
$in
(containsAll
andcontainedIn
wirth the JS SDK) doesn't work, at least when the key's value is of type Array.Steps to reproduce
Subscribe to a query with a
containedIn
constraint, where the key to constrain as a value of type Array.Actual Outcome
The subscription works but when an object is deleted/created/updated it doesn't return it.
Expected Outcome
I expect Parse to return any created/deleted/updated object falling into the boudaries of the subscribed query.
Environment
Server
5.4.0
Linux
Local
Database
MongoDB
4.12.0
AWS
Client
Javascript
3.4.2
Logs
The text was updated successfully, but these errors were encountered: