Skip to content
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.

v0.6.30

Latest
Compare
Choose a tag to compare
@pablorsk pablorsk released this 08 Jul 13:43
· 11 commits to master since this release
  • Save on localstore all data. When you request a resource or collection, first check memory. If its empty, read from store. If is empty, get the data from back-end.
  • HttpStorage deprecated: jsons were saved as sent by the server, now we save json with logic (saving ids and resources separately).
  • Service with toServer() and fromServer() functions. They execute before and after http request. Ideal for type conversions.
  • JsonapiCore.duplicateResource(resouce, ...relationtypes) return a duplication of resource. You can duplicate resources and, optionally, their relationships. (v0.6.16)
  • resource save() method return a promise.
  • Fix problem with Possibly unhandled rejection: undefined with new AngularJs.