data.classname was not provided
Hey,
i am using your Adapter for a few hours now - trying to get everything. :) So far, really nice work, could be a massive support on my current project.
I've ran into an (i assume) dumb error...
My goal is to update a specific Object in the Cloud, in this example the name of a squad.
var squad = Alloy.createModel('Squad', { id : "51af21e1ce217f75a41dce56" }); squad.save({ name : "test" });
So that was my approach - Everytime i try this, i've get an error: "data.classname was not provided".
Where is the tree in this forest? ;-)
Best, Nico
I will take a look over the next few days. However I believe the adapter in the book is a better resource to use, this one is quite old. https://github.com/aaronksaunders/AppC-Alloy-Book
i need more information here? what does your model.js file look like