I am seeing an issue where saving a custom class that extends Parse.Object results in the
You need to call Parse.initialize before using Parse. error message when the _CoreManager tries to get the APPLICATION_ID.
class CoolClass extends Parse.Object {
constructor(attributes) {
// Pass the ClassName to the Parse.Object constructor
super('CoolClass');
// All other initialization
this.coolness = 'awesome';
}
}
let coolClass = new CoolClass();
coolClass.save() <<<<<<<<<<<<<<<<< Problem occurs here
The following code however works as expected.
let coolClass = new Parse.Object("CoolClass");
coolClass.save();
Am I missing something or custom classes not supported?
I am seeing an issue where saving a custom class that extends Parse.Object results in the
You need to call Parse.initialize before using Parse.error message when the_CoreManagertries to get theAPPLICATION_ID.The following code however works as expected.
Am I missing something or custom classes not supported?