Skip to content

v0.9.0

Compare
Choose a tag to compare
@kiaking kiaking released this 05 Nov 13:23
· 63 commits to master since this release

New Features

Save response data after calling the API

When setting the save option to false, now you can persist response data afterward via save method on the response object.

// Don't save response data when calling API.
const result = await User.api().get('/api/users', {
  save: false
})

// Save data afterwards.
result.save()

Please refer to the documentation for more.