Skip to content

v0.14.0

Compare
Choose a tag to compare
@SpaceK33z SpaceK33z released this 20 Jun 11:32
· 213 commits to master since this release
  • After a successful multi-PUT on a new model, the new id was not saved in the model.
  • If backendResourceName is set on a model or store, it will try to auto generate the url based on that.

Example:

class Animal extends Model {
  static backendResourceName = 'animal';
}
const animal = new Animal({ id: 1 });
animal.fetch();
// Will do a request to GET /animal/1/