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
New Issue Checklist
Issue Description
When using Parse Server as an ES6 module, cloud code is not correctly
awaitedon import.Steps to reproduce
Use Parse Server in an ES6 module, create a cloud code file
Actual Outcome
Cloud code should import before
.startis resolved.Expected Outcome
Environment
Server
alphaFILL_THIS_OUTFILL_THIS_OUTDatabase
FILL_THIS_OUTFILL_THIS_OUTFILL_THIS_OUTClient
FILL_THIS_OUTFILL_THIS_OUTLogs