Skip to content

Dynamic imports do not correctly await with ES6 modules #8367

Closed
@dblythy

Description

@dblythy

New Issue Checklist

Issue Description

When using Parse Server as an ES6 module, cloud code is not correctly awaited on import.

Steps to reproduce

Use Parse Server in an ES6 module, create a cloud code file

Actual Outcome

Cloud code should import before .start is resolved.

Expected Outcome

Environment

Server

  • Parse Server version: alpha
  • Operating system: FILL_THIS_OUT
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): FILL_THIS_OUT

Database

  • System (MongoDB or Postgres): FILL_THIS_OUT
  • Database version: FILL_THIS_OUT
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): FILL_THIS_OUT

Client

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

Logs

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