Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live query subscription not working with constraint $in #8335

Closed
4 tasks done
theFreedomBanana opened this issue Nov 25, 2022 · 2 comments
Closed
4 tasks done

Live query subscription not working with constraint $in #8335

theFreedomBanana opened this issue Nov 25, 2022 · 2 comments
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@theFreedomBanana
Copy link

New Issue Checklist

Issue Description

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

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): Javascript
  • SDK version: 3.4.2

Logs

@parse-github-assistant
Copy link

Thanks for opening this issue!

  • 🚀 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.

@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Nov 25, 2022
@dplewis
Copy link
Member

dplewis commented Jan 27, 2023

Closing via #8128

Please open a new issue if this solution doesn't work

@dplewis dplewis closed this as completed Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

3 participants