strapi-sdk-javascript icon indicating copy to clipboard operation
strapi-sdk-javascript copied to clipboard

Prototype entries

Open pierreburgy opened this issue 6 years ago • 8 comments

  • I'm submitting a ...

[ ] bug report [x] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project

  • Summary

It would be great to prototype entries, so we could do something like:

(async () => {
  const post = await strapi.getEntry('1234');
  post.title = 'A new title';
  await post.update(); // or post.save();
})();
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

pierreburgy avatar Apr 29 '18 13:04 pierreburgy