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
matchesKeyConstraints function is not handling not equal to null constraint properly.
Due to which error is thrown `Cannot read properties of null (reading '__type')
Steps to reproduce
Create a subscription on a class with constraint notEqualTo(key,null)
Actual Outcome
Throws error.
Expected Outcome
Shouldn't throw an error.
Environment
18.19.0
Server
Parse Server version: 5.5.5
Operating system: Mac
Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): self hosted
Database
System (MongoDB or Postgres): Mongo
Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): Local
🚀 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
matchesKeyConstraints function is not handling not equal to null constraint properly.
Due to which error is thrown `Cannot read properties of null (reading '__type')
Steps to reproduce
Create a subscription on a class with constraint
notEqualTo(key,null)
Actual Outcome
Throws error.
Expected Outcome
Shouldn't throw an error.
Environment
18.19.0
Server
5.5.5
Mac
self hosted
Database
Mongo
Local
Client
Javascript
4.0.1
Logs
The text was updated successfully, but these errors were encountered: