Closed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the version 4.5.0 of Parse Server and the latest version of Parse JS SDK.
Issue Description
Parse.Query.first() is not working after [email protected]
Steps to reproduce
let Product = Parse.Object.extend('Product');
const query = new Parse.Query(Product);
let result = await query.first();
NB: Product is a name of a class.
Actual Outcome
throws error
error.code: undefined
error.message: Cannot read properties of undefined (reading 'className')
Expected Outcome
object of 'Product' class
Environment
Using Parse JS SDK:
Server
- Parse Server version:
4.5.0
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
Back4app
Client
- Parse JS SDK version:
3.5.0
- https://npmcdn.com/[email protected]/dist/parse.min.js