Skip to content

Parse.Query.first() not working after [email protected] #1592

Closed
@dipendras

Description

@dipendras

New Issue Checklist

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:releasedReleased as stable versionstate:released-alphaReleased as alpha versionstate:released-betaReleased as beta versiontype:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions