and skuid.model.Model.updateData() method signatures


Skuid is awesome.

Something I noticed with the API for the skuid.model.Model.

Any thoughts on the design decision for the and model.updateData() method signatures?

I noticed that the takes an object with a property with the callback function.

For skuid.model.Model.updateData() the method signature just takes a function callback and NOT an object.

Since they are both CRUD operation, I would have expected the signature to be the same. I spent a couple minutes not understanding why my callback in the save() method wasn’t executing. I checked out the documentation and was able to fix it.